Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.002307/0.002307, allocations: 91.61 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002755/0.002755, allocations: 169.3 kB / 24.28 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.655/1.655, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3424/0.3424, allocations: 32.81 MB / 293.9 MB, free: 1.215 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 375.3 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.11e-05/3.252e-05, allocations: 2.312 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003685/0.003718, allocations: 1.923 MB / 377.3 MB, free: 2.965 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002173/0.005891, allocations: 1.032 MB / 378.3 MB, free: 1.93 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.38e-05/0.005985, allocations: 3.938 kB / 378.3 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.006303, allocations: 47.58 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003323/0.006635, allocations: 99.47 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.006877, allocations: 99.58 kB / 378.5 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002598/0.007137, allocations: 155.5 kB / 378.7 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.007252, allocations: 21.8 kB / 378.7 MB, free: 1.512 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.007395, allocations: 71.81 kB / 378.8 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.007506, allocations: 39.83 kB / 378.8 MB, free: 1.402 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.895e-05/0.007534, allocations: 8 kB / 378.8 MB, free: 1.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.007644, allocations: 47.92 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.347e-05/0.007717, allocations: 31.84 kB / 378.9 MB, free: 1.316 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.54e-05/0.007782, allocations: 27.91 kB / 378.9 MB, free: 1.289 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003219/0.008104, allocations: 155.4 kB / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.008109, allocations: 0 / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.008111, allocations: 0 / 379.1 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.008117, allocations: 4 kB / 379.1 MB, free: 1.133 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0008253/0.008942, allocations: 0.5164 MB / 379.6 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008977, allocations: 8.031 kB / 379.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.72e-05/0.009054, allocations: 32.8 kB / 379.7 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.009394, allocations: 173.1 kB / 379.8 MB, free: 344 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.009412, allocations: 4.375 kB / 379.8 MB, free: 340 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.793e-05/0.00944, allocations: 8.375 kB / 379.8 MB, free: 332 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002828/0.009723, allocations: 142.9 kB / 380 MB, free: 164 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.009735, allocations: 7.938 kB / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.247e-05/0.009748, allocations: 0 / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.009753, allocations: 0 / 380 MB, free: 156 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001458/0.009899, allocations: 35.98 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008222/0.01072, allocations: 0.6145 MB / 380.6 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003857/0.01111, allocations: 83.09 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.318e-05/0.0112, allocations: 35.67 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.01122, allocations: 4 kB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002231/0.01144, allocations: 110.7 kB / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.01144, allocations: 0 / 380.9 MB, free: 15.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004146/0.01185, allocations: 137.5 kB / 381 MB, free: 15.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/0.0119, allocations: 51.41 kB / 381 MB, free: 14.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.01218, allocations: 271.1 kB / 381.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.01221, allocations: 29.7 kB / 381.3 MB, free: 14.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.01235, allocations: 166.8 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/0.01238, allocations: 31.78 kB / 381.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.479e-05/0.01245, allocations: 43.27 kB / 381.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000271/0.01272, allocations: 0.5117 MB / 382.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.21e-05/0.01281, allocations: 27.98 kB / 382.1 MB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001231/0.01293, allocations: 70.42 kB / 382.2 MB, free: 13.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002092/0.01314, allocations: 106.3 kB / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01315, allocations: 0 / 382.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000279/0.01342, allocations: 133.5 kB / 382.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.01344, allocations: 8 kB / 382.4 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.01345, allocations: 7.922 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.01346, allocations: 4 kB / 382.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.914e-05/0.01356, allocations: 23.92 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.01357, allocations: 4 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.837e-05/0.01364, allocations: 15.92 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.01365, allocations: 4 kB / 382.5 MB, free: 13.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001726/0.01382, allocations: 176.5 kB / 382.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.446e-05/0.01386, allocations: 15.97 kB / 382.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002888/0.01415, allocations: 123.1 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.01415, allocations: 4 kB / 382.8 MB, free: 13.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.01415, allocations: 3.938 kB / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.01416, allocations: 0 / 382.8 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002309/0.01439, allocations: 172.5 kB / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01439, allocations: 0 / 383 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.01447, allocations: 12 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.01447, allocations: 0 / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.01449, allocations: 11.98 kB / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.01449, allocations: 0 / 383 MB, free: 12.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01449, allocations: 8 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.0149, allocations: 188.8 kB / 383.2 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.877e-05/0.01493, allocations: 11.91 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.664e-05/0.01496, allocations: 3.984 kB / 383.2 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.024e-05/0.01502, allocations: 8 kB / 383.2 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.09e-05/0.01507, allocations: 7.984 kB / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.434e-05/0.01508, allocations: 0 / 383.2 MB, free: 12.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001801/0.01526, allocations: 191.1 kB / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01526, allocations: 0 / 383.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002336/0.01549, allocations: 27.94 kB / 383.4 MB, free: 12.44 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002966/0.01846, allocations: 445.6 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.01876, allocations: 83.58 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.01877, allocations: 4 kB / 383.9 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.01897, allocations: 39.61 kB / 384 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003805/0.01936, allocations: 48.16 kB / 384 MB, free: 12 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006388/0.01999, allocations: 266.1 kB / 384.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.02011, allocations: 102.1 kB / 384.4 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.144e-05/0.02019, allocations: 21.47 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.02023, allocations: 16.5 kB / 384.4 MB, free: 11.55 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.02023, allocations: 4 kB / 384.4 MB, free: 11.54 MB / 362.7 MB Notification: Performance of Templates: time 0.006483/0.02672, allocations: 2.057 MB / 386.5 MB, free: 9.516 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.353731506038457]