Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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.001378/0.001378, allocations: 84.94 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001636/0.001636, allocations: 163.7 kB / 23.95 MB, free: 4.156 MB / 14.72 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.403/1.403, allocations: 177.1 MB / 204.3 MB, free: 9.176 MB / 190.1 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.2138/0.2138, allocations: 32.8 MB / 293.5 MB, free: 28 kB / 270.1 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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.142e-06/1.142e-06, allocations: 0 / 440.2 MB, free: 8.066 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.183e-05, allocations: 2.281 kB / 440.2 MB, free: 8.062 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002896/0.002918, allocations: 1.716 MB / 441.9 MB, free: 6.332 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.004684, allocations: 0.9704 MB / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.87e-05/0.004763, allocations: 0 / 442.9 MB, free: 5.355 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002548/0.005018, allocations: 35.77 kB / 442.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003346/0.005352, allocations: 99.47 kB / 443 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.005596, allocations: 87.53 kB / 443.1 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.005784, allocations: 103.7 kB / 443.2 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.005868, allocations: 11.98 kB / 443.2 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001364/0.006004, allocations: 55.78 kB / 443.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.585e-05/0.00609, allocations: 27.91 kB / 443.3 MB, free: 4.941 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.006111, allocations: 4 kB / 443.3 MB, free: 4.938 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.006215, allocations: 43.97 kB / 443.3 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.706e-05/0.006272, allocations: 19.92 kB / 443.3 MB, free: 4.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.576e-05/0.006317, allocations: 19.88 kB / 443.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.006543, allocations: 119.6 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006546, allocations: 3.938 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.01e-07/0.006546, allocations: 0 / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.00656, allocations: 4 kB / 443.5 MB, free: 4.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005434/0.007103, allocations: 341.6 kB / 443.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.678e-05/0.00714, allocations: 12.02 kB / 443.8 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.007194, allocations: 24.78 kB / 443.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.007482, allocations: 146.3 kB / 444 MB, free: 4.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/0.007497, allocations: 4.375 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.007515, allocations: 384 / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.007666, allocations: 62.17 kB / 444.1 MB, free: 4.094 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.007679, allocations: 3.938 kB / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-06/0.007689, allocations: 0 / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.007692, allocations: 0 / 444.1 MB, free: 4.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.138e-05/0.007774, allocations: 23.98 kB / 444.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000422/0.008196, allocations: 240.5 kB / 444.3 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.008384, allocations: 58.67 kB / 444.4 MB, free: 3.734 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.296e-05/0.008447, allocations: 24.78 kB / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.008461, allocations: 0 / 444.4 MB, free: 3.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.008615, allocations: 71.33 kB / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.008617, allocations: 0 / 444.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005792/0.009196, allocations: 173.4 kB / 444.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.009247, allocations: 59.41 kB / 444.7 MB, free: 3.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.009459, allocations: 202.2 kB / 444.9 MB, free: 3.172 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.009483, allocations: 33.7 kB / 444.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.009561, allocations: 100.1 kB / 445 MB, free: 3.031 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.009594, allocations: 27.78 kB / 445.1 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-05/0.009645, allocations: 25.72 kB / 445.1 MB, free: 2.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.009815, allocations: 322.8 kB / 445.4 MB, free: 2.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/0.009886, allocations: 23.98 kB / 445.4 MB, free: 2.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.009969, allocations: 33.7 kB / 445.5 MB, free: 2.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.01011, allocations: 77.69 kB / 445.5 MB, free: 2.504 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.01011, allocations: 3.938 kB / 445.5 MB, free: 2.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002117/0.01032, allocations: 97.59 kB / 445.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.572e-05/0.01036, allocations: 7.984 kB / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.01036, allocations: 0 / 445.6 MB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.01038, allocations: 4 kB / 445.6 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.013e-05/0.01047, allocations: 16.12 kB / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.01047, allocations: 0 / 445.7 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.128e-05/0.01052, allocations: 16.3 kB / 445.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.01053, allocations: 8.031 kB / 445.7 MB, free: 2.348 MB / 366.1 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 (10): * Single equations (assignments): 10 * 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.0001192/0.01065, allocations: 129.8 kB / 445.8 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.01068, allocations: 7.953 kB / 445.8 MB, free: 2.207 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.011, allocations: 131.1 kB / 445.9 MB, free: 2.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.011, allocations: 3.984 kB / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.01101, allocations: 0 / 445.9 MB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.01101, allocations: 3.938 kB / 446 MB, free: 2.062 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.01158, allocations: 350.9 kB / 446.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01158, allocations: 4 kB / 446.3 MB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.01162, allocations: 16.02 kB / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.01162, allocations: 0 / 446.3 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.01164, allocations: 4 kB / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.01164, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01164, allocations: 0 / 446.3 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002955/0.01193, allocations: 216.2 kB / 446.5 MB, free: 1.426 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.252e-05/0.01196, allocations: 11.91 kB / 446.5 MB, free: 1.414 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.526e-05/0.01198, allocations: 4 kB / 446.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.01206, allocations: 4 kB / 446.5 MB, free: 1.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.01209, allocations: 7.984 kB / 446.6 MB, free: 1.398 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.01211, allocations: 7.938 kB / 446.6 MB, free: 1.391 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.01226, allocations: 160.2 kB / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01226, allocations: 0 / 446.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002762/0.01253, allocations: 27.94 kB / 446.7 MB, free: 1.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001914/0.01445, allocations: 490.8 kB / 447.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002038/0.01465, allocations: 63.91 kB / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.01465, allocations: 0 / 447.3 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.128e-05/0.01473, allocations: 23.98 kB / 447.3 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.01509, allocations: 35.16 kB / 447.3 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005782/0.01567, allocations: 234.1 kB / 447.6 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.0158, allocations: 96.42 kB / 447.7 MB, free: 456 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.025e-05/0.01586, allocations: 12.97 kB / 447.7 MB, free: 436 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.018e-05/0.01591, allocations: 20.5 kB / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.01591, allocations: 0 / 447.7 MB, free: 416 kB / 366.1 MB Notification: Performance of Templates: time 0.1707/0.1866, allocations: 1.854 MB / 449.6 MB, free: 21.2 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test31.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: 4.589489139616489]