Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.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.001269/0.001269, allocations: 88.2 kB / 20.94 MB, free: 3.605 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.001566/0.001566, allocations: 169 kB / 24.24 MB, free: 312 kB / 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 1.085/1.085, allocations: 158.6 MB / 186 MB, free: 2.91 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.1397/0.1397, allocations: 32.37 MB / 270.7 MB, free: 14.78 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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.807e-05, allocations: 6.25 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002231/0.002259, allocations: 1.698 MB / 349.4 MB, free: 7.992 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.003281, allocations: 0.7765 MB / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.602e-05/0.003367, allocations: 0 / 350.2 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003251/0.003692, allocations: 59.69 kB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.003909, allocations: 63.69 kB / 350.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.004141, allocations: 75.72 kB / 350.4 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002115/0.004352, allocations: 99.62 kB / 350.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.131e-05/0.004404, allocations: 4 kB / 350.5 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.358e-05/0.004497, allocations: 47.83 kB / 350.6 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.967e-05/0.004577, allocations: 27.91 kB / 350.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.004596, allocations: 8 kB / 350.6 MB, free: 6.828 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-05/0.004671, allocations: 27.92 kB / 350.6 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.561e-05/0.004726, allocations: 27.92 kB / 350.7 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.004766, allocations: 19.92 kB / 350.7 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001708/0.004937, allocations: 99.55 kB / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.00494, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.004941, allocations: 0 / 350.8 MB, free: 6.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.004946, allocations: 0 / 350.8 MB, free: 6.656 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004343/0.005381, allocations: 463.8 kB / 351.2 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.005425, allocations: 8.031 kB / 351.2 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.005478, allocations: 16.84 kB / 351.2 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.00565, allocations: 156.4 kB / 351.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.005673, allocations: 384 / 351.4 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.005684, allocations: 4.375 kB / 351.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001251/0.005809, allocations: 62.88 kB / 351.5 MB, free: 5.891 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.005817, allocations: 3.938 kB / 351.5 MB, free: 5.887 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.005826, allocations: 3.938 kB / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.005834, allocations: 0 / 351.5 MB, free: 5.883 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.436e-05/0.005868, allocations: 11.98 kB / 351.5 MB, free: 5.871 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.006009, allocations: 148.7 kB / 351.6 MB, free: 5.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.006112, allocations: 47.11 kB / 351.7 MB, free: 5.633 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.901e-05/0.006141, allocations: 27.66 kB / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.006154, allocations: 0 / 351.7 MB, free: 5.602 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001016/0.006256, allocations: 68.98 kB / 351.8 MB, free: 5.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.006257, allocations: 0 / 351.8 MB, free: 5.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002077/0.006464, allocations: 89.52 kB / 351.9 MB, free: 5.426 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/0.006491, allocations: 51.41 kB / 351.9 MB, free: 5.363 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.006625, allocations: 269.4 kB / 352.2 MB, free: 5.082 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.006635, allocations: 29.69 kB / 352.2 MB, free: 5.047 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.323e-05/0.006678, allocations: 166.8 kB / 352.4 MB, free: 4.879 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.006711, allocations: 23.81 kB / 352.4 MB, free: 4.855 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.911e-05/0.006741, allocations: 23.38 kB / 352.4 MB, free: 4.824 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.006796, allocations: 0.5001 MB / 352.9 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.006819, allocations: 11.98 kB / 352.9 MB, free: 4.301 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.476e-05/0.006844, allocations: 23.38 kB / 352.9 MB, free: 4.27 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.474e-05/0.006889, allocations: 39.61 kB / 353 MB, free: 4.223 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.006891, allocations: 4 kB / 353 MB, free: 4.219 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.427e-05/0.006975, allocations: 81.53 kB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.006992, allocations: 8.031 kB / 353.1 MB, free: 4.125 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.007, allocations: 3.938 kB / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.007016, allocations: 0 / 353.1 MB, free: 4.121 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.253e-05/0.007098, allocations: 12 kB / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.007104, allocations: 0 / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.678e-05/0.007141, allocations: 0 / 353.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-06/0.007148, allocations: 7.984 kB / 353.1 MB, free: 4.102 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 7.447e-05/0.007223, allocations: 164.5 kB / 353.3 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.827e-05/0.007241, allocations: 15.91 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.007386, allocations: 82.77 kB / 353.4 MB, free: 3.824 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.007389, allocations: 4 kB / 353.4 MB, free: 3.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.007395, allocations: 4 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.0074, allocations: 0 / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.853e-05/0.007499, allocations: 156.6 kB / 353.5 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.007502, allocations: 3.938 kB / 353.5 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.007526, allocations: 4 kB / 353.5 MB, free: 3.621 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.007531, allocations: 4 kB / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-06/0.00754, allocations: 0 / 353.5 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.007543, allocations: 7.875 kB / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.007545, allocations: 0 / 353.5 MB, free: 3.609 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.517e-05/0.00764, allocations: 116.3 kB / 353.6 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.846e-05/0.007659, allocations: 19.91 kB / 353.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/0.007677, allocations: 0 / 353.7 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.755e-05/0.007705, allocations: 12.11 kB / 353.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.007747, allocations: 0 / 353.7 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.502e-05/0.007762, allocations: 8 kB / 353.7 MB, free: 3.434 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.509e-05/0.007837, allocations: 188.4 kB / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007837, allocations: 0 / 353.9 MB, free: 3.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.008001, allocations: 27.92 kB / 353.9 MB, free: 3.223 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (6): * Single equations (assignments): 4 * 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.0008907/0.008892, allocations: 388.8 kB / 354.3 MB, free: 2.934 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.009025, allocations: 39.61 kB / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.009028, allocations: 0 / 354.3 MB, free: 2.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.00906, allocations: 19.69 kB / 354.3 MB, free: 2.867 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002168/0.009276, allocations: 45.08 kB / 354.4 MB, free: 2.824 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003651/0.009642, allocations: 229.7 kB / 354.6 MB, free: 2.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.353e-05/0.009675, allocations: 71.33 kB / 354.7 MB, free: 2.484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.54e-05/0.00971, allocations: 12.48 kB / 354.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.009741, allocations: 16.5 kB / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.009742, allocations: 0 / 354.7 MB, free: 2.453 MB / 282.7 MB Notification: Performance of Templates: time 0.004014/0.01376, allocations: 1.635 MB / 356.3 MB, free: 0.8359 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.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.2779817229602486]