Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008198/0.0008198, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002047, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007621/0.0007621, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001778, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8744/0.8744, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1375/1.012, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1197/0.1197, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02242/0.1421, allocations: 12.32 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 267.5 MB, free: 2.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.058e-05, allocations: 6.25 kB / 267.5 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.003423/0.003444, allocations: 1.902 MB / 269.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001554/0.004998, allocations: 0.9087 MB / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001015/0.0051, allocations: 0 / 270.3 MB, free: 15.63 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.005457, allocations: 167.3 kB / 270.5 MB, free: 15.46 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.005749, allocations: 155.4 kB / 270.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003417/0.006091, allocations: 147.5 kB / 270.7 MB, free: 15.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002828/0.006373, allocations: 219.2 kB / 271 MB, free: 14.95 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.256e-05/0.006466, allocations: 14.45 kB / 271 MB, free: 14.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000255/0.006721, allocations: 176.2 kB / 271.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.006883, allocations: 99.77 kB / 271.2 MB, free: 14.67 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.006912, allocations: 8 kB / 271.3 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.007023, allocations: 43.92 kB / 271.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.42e-05/0.007097, allocations: 43.8 kB / 271.3 MB, free: 14.58 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.007151, allocations: 31.88 kB / 271.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.007389, allocations: 155.4 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.098e-05/0.0074, allocations: 7.938 kB / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007401, allocations: 0 / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.007411, allocations: 0 / 271.5 MB, free: 14.39 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006073/0.008018, allocations: 458.9 kB / 272 MB, free: 13.91 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.008051, allocations: 11.89 kB / 272 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.981e-05/0.008101, allocations: 20.91 kB / 272 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.008329, allocations: 188.9 kB / 272.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.008346, allocations: 384 / 272.2 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.008372, allocations: 8.375 kB / 272.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.008543, allocations: 111.4 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.008555, allocations: 3.938 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.008567, allocations: 3.984 kB / 272.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.008574, allocations: 3.938 kB / 272.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.574e-05/0.008629, allocations: 25.64 kB / 272.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.008958, allocations: 288.9 kB / 272.6 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001661/0.009124, allocations: 170.5 kB / 272.8 MB, free: 13.01 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/0.009167, allocations: 29.7 kB / 272.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.00918, allocations: 4 kB / 272.8 MB, free: 12.97 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001576/0.009338, allocations: 115.7 kB / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.009339, allocations: 0 / 272.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005049/0.009844, allocations: 206.9 kB / 273.1 MB, free: 12.63 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.009886, allocations: 85.09 kB / 273.2 MB, free: 12.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/0.01012, allocations: 276.7 kB / 273.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.239e-05/0.01014, allocations: 29.7 kB / 273.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.01019, allocations: 105 kB / 273.6 MB, free: 12.1 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.85e-05/0.01024, allocations: 51.62 kB / 273.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.01029, allocations: 37.69 kB / 273.7 MB, free: 12 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.0104, allocations: 338.8 kB / 274 MB, free: 11.66 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.728e-05/0.01043, allocations: 18.81 kB / 274.1 MB, free: 11.64 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.84e-05/0.01049, allocations: 47.38 kB / 274.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001043/0.0106, allocations: 92.89 kB / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.0106, allocations: 0 / 274.2 MB, free: 11.48 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001639/0.01076, allocations: 111.2 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.01078, allocations: 8 kB / 274.3 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.01078, allocations: 4 kB / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.01079, allocations: 0 / 274.3 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.01093, allocations: 35.98 kB / 274.4 MB, free: 11.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.01093, allocations: 4 kB / 274.4 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.671e-05/0.011, allocations: 7.984 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.01101, allocations: 8 kB / 274.4 MB, free: 11.3 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.002e-05/0.0111, allocations: 128.5 kB / 274.5 MB, free: 11.16 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.247e-05/0.01113, allocations: 19.92 kB / 274.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.01134, allocations: 143.5 kB / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01134, allocations: 0 / 274.7 MB, free: 11 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01134, allocations: 4 kB / 274.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.01135, allocations: 3.984 kB / 274.7 MB, free: 10.99 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.01178, allocations: 499.3 kB / 275.2 MB, free: 10.47 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.01179, allocations: 4.688 kB / 275.2 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.01186, allocations: 27.98 kB / 275.2 MB, free: 10.44 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.469e-05/0.01189, allocations: 15.86 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.01189, allocations: 4 kB / 275.2 MB, free: 10.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.0119, allocations: 8.062 kB / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.0119, allocations: 4 kB / 275.2 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.01191, allocations: 4 kB / 275.2 MB, free: 10.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002293/0.01214, allocations: 383 kB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.01217, allocations: 4 kB / 275.6 MB, free: 10 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.0123, allocations: 11.98 kB / 275.6 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.01233, allocations: 11.92 kB / 275.6 MB, free: 9.977 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.142e-05/0.01236, allocations: 15.98 kB / 275.6 MB, free: 9.961 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01247, allocations: 107.5 kB / 275.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01247, allocations: 0 / 275.7 MB, free: 9.852 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000314/0.01279, allocations: 43.98 kB / 275.8 MB, free: 9.809 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002114/0.0149, allocations: 0.6363 MB / 276.4 MB, free: 9.156 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.01506, allocations: 84.92 kB / 276.5 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/0.01508, allocations: 7.984 kB / 276.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.01516, allocations: 56.77 kB / 276.6 MB, free: 9.004 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005479/0.01571, allocations: 345.9 kB / 276.9 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008069/0.01652, allocations: 396.5 kB / 277.3 MB, free: 8.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.918e-05/0.0166, allocations: 91.97 kB / 277.4 MB, free: 8.07 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.126e-05/0.01669, allocations: 34.31 kB / 277.4 MB, free: 8.039 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.01682, allocations: 83.34 kB / 277.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01682, allocations: 0 / 277.5 MB, free: 7.957 MB / 282.7 MB Notification: Performance of Templates: time 0.00663/0.02345, allocations: 3.221 MB / 280.7 MB, free: 4.734 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7856156267225742]