Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001084/0.001084, allocations: 91.33 kB / 20.43 MB, free: 4.145 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.001052/0.001052, allocations: 165 kB / 23.8 MB, free: 0.7773 MB / 18.57 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.8863/0.8863, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.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.1242/0.1242, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.41e-05/2.585e-05, allocations: 8.219 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002336/0.002362, allocations: 1.938 MB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001025/0.003387, allocations: 0.831 MB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.981e-05/0.003487, allocations: 4 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003285/0.003815, allocations: 51.58 kB / 350.6 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002288/0.004044, allocations: 59.69 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.004253, allocations: 103.6 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.004414, allocations: 143.5 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.004514, allocations: 33.59 kB / 350.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.479e-05/0.004599, allocations: 63.83 kB / 351 MB, free: 6.137 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.004683, allocations: 43.88 kB / 351 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.004702, allocations: 8 kB / 351 MB, free: 6.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.507e-05/0.004777, allocations: 32 kB / 351 MB, free: 6.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.823e-05/0.004825, allocations: 39.77 kB / 351.1 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.202e-05/0.004877, allocations: 23.94 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001838/0.005061, allocations: 127.5 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.005063, allocations: 0 / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.005064, allocations: 4 kB / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005068, allocations: 7.938 kB / 351.2 MB, free: 5.855 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004448/0.005513, allocations: 0.4896 MB / 351.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.00555, allocations: 12.03 kB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.264e-05/0.005602, allocations: 20.84 kB / 351.8 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005759, allocations: 168.3 kB / 351.9 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.005778, allocations: 4.375 kB / 351.9 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.196e-05/0.0058, allocations: 8.375 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001679/0.005968, allocations: 145.7 kB / 352.1 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.005976, allocations: 7.938 kB / 352.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.005988, allocations: 8 kB / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.005997, allocations: 0 / 352.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.89e-05/0.006046, allocations: 19.98 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003546/0.0064, allocations: 0.5872 MB / 352.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.006585, allocations: 67.11 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.461e-05/0.00662, allocations: 31.66 kB / 352.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.006633, allocations: 4 kB / 352.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.965e-05/0.006732, allocations: 102.7 kB / 352.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.006734, allocations: 0 / 352.9 MB, free: 4.016 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002028/0.006937, allocations: 109.5 kB / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.86e-05/0.006955, allocations: 51.41 kB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.007064, allocations: 238.6 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.608e-06/0.007074, allocations: 33.64 kB / 353.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.62e-05/0.00712, allocations: 162.8 kB / 353.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.547e-05/0.007135, allocations: 27.75 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.007165, allocations: 43.3 kB / 353.6 MB, free: 3.309 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.007215, allocations: 0.5 MB / 354.1 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.425e-05/0.007239, allocations: 15.98 kB / 354.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.585e-05/0.007275, allocations: 66.42 kB / 354.1 MB, free: 2.695 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.285e-05/0.007338, allocations: 78.73 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.00734, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001018/0.007441, allocations: 117.5 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.007452, allocations: 8.031 kB / 354.3 MB, free: 2.469 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.007457, allocations: 4 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.00747, allocations: 0 / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.865e-05/0.007529, allocations: 23.92 kB / 354.4 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.007533, allocations: 4 kB / 354.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.193e-05/0.007565, allocations: 11.92 kB / 354.4 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.007573, allocations: 8 kB / 354.4 MB, free: 2.418 MB / 282.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 5.461e-05/0.007628, allocations: 168.5 kB / 354.6 MB, free: 2.242 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.007643, allocations: 15.91 kB / 354.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.007774, allocations: 111.1 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.007777, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.007781, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.007785, allocations: 0 / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.679e-05/0.007862, allocations: 172.5 kB / 354.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.007863, allocations: 0 / 354.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.345e-05/0.007906, allocations: 8 kB / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.007908, allocations: 7.984 kB / 354.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.007918, allocations: 4 kB / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.007918, allocations: 0 / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.007919, allocations: 0 / 354.9 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.008058, allocations: 164.2 kB / 355 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.325e-05/0.008071, allocations: 11.95 kB / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.008086, allocations: 0 / 355 MB, free: 1.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.008111, allocations: 8 kB / 355.1 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.444e-05/0.008145, allocations: 7.984 kB / 355.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.008158, allocations: 4 kB / 355.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.185e-05/0.00821, allocations: 173 kB / 355.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00821, allocations: 3.938 kB / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001476/0.008357, allocations: 35.89 kB / 355.3 MB, free: 1.461 MB / 282.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.0008511/0.009209, allocations: 378.3 kB / 355.6 MB, free: 1.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.009324, allocations: 67.59 kB / 355.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-06/0.009325, allocations: 256 / 355.7 MB, free: 1.109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.009361, allocations: 39.73 kB / 355.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001942/0.009556, allocations: 47.89 kB / 355.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003533/0.009909, allocations: 256.1 kB / 356 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.519e-05/0.009934, allocations: 71.83 kB / 356.1 MB, free: 0.6523 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.974e-05/0.009974, allocations: 13.14 kB / 356.1 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.549e-05/0.01001, allocations: 20.5 kB / 356.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01001, allocations: 0 / 356.1 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of Templates: time 0.003782/0.01379, allocations: 2.199 MB / 358.3 MB, free: 14.44 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.1372380731627345]