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.001052/0.001052, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001413/0.001413, allocations: 173 kB / 24.06 MB, free: 452 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.056/1.056, allocations: 158.6 MB / 185.9 MB, free: 2.777 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.1467/0.1467, allocations: 32.38 MB / 270.7 MB, free: 14.53 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.653e-06/1.653e-06, allocations: 0 / 348.2 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.604e-05, allocations: 6.312 kB / 348.2 MB, free: 9.094 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.00223/0.002256, allocations: 1.682 MB / 349.9 MB, free: 7.402 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009831/0.003239, allocations: 0.7765 MB / 350.7 MB, free: 6.617 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.673e-05/0.003326, allocations: 3.938 kB / 350.7 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004052/0.003731, allocations: 47.81 kB / 350.7 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000241/0.003972, allocations: 63.69 kB / 350.8 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.004165, allocations: 83.7 kB / 350.9 MB, free: 6.422 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.004295, allocations: 99.56 kB / 351 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.004335, allocations: 4 kB / 351 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.004416, allocations: 39.91 kB / 351 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.039e-05/0.004496, allocations: 31.89 kB / 351 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.004516, allocations: 4 kB / 351 MB, free: 6.246 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.842e-05/0.004585, allocations: 31.88 kB / 351.1 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.31e-05/0.004628, allocations: 27.86 kB / 351.1 MB, free: 6.188 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.736e-05/0.004665, allocations: 23.91 kB / 351.1 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.004809, allocations: 91.69 kB / 351.2 MB, free: 6.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.004813, allocations: 7.984 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.004814, allocations: 0 / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.147e-06/0.004818, allocations: 3.938 kB / 351.2 MB, free: 6.062 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.0004454/0.005264, allocations: 463.7 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.00532, allocations: 8.031 kB / 351.7 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.036e-05/0.00537, allocations: 16.84 kB / 351.7 MB, free: 5.551 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.005565, allocations: 156.3 kB / 351.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.00559, allocations: 384 / 351.8 MB, free: 5.371 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.005601, allocations: 4.375 kB / 351.9 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.005743, allocations: 58.94 kB / 351.9 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.005752, allocations: 3.938 kB / 351.9 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.00576, allocations: 4 kB / 351.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.005766, allocations: 3.984 kB / 351.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.371e-05/0.00579, allocations: 4 kB / 351.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.005917, allocations: 125.2 kB / 352 MB, free: 5.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.033e-05/0.006008, allocations: 43.05 kB / 352.1 MB, free: 5.082 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.125e-05/0.006029, allocations: 15.67 kB / 352.1 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.891e-05/0.006048, allocations: 8 kB / 352.1 MB, free: 5.055 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001008/0.006149, allocations: 65.03 kB / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 2.084e-06/0.006151, allocations: 0 / 352.2 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002118/0.006363, allocations: 93.47 kB / 352.3 MB, free: 4.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.006396, allocations: 51.41 kB / 352.3 MB, free: 4.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.006522, allocations: 261.3 kB / 352.6 MB, free: 4.543 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.006536, allocations: 25.7 kB / 352.6 MB, free: 4.512 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.795e-05/0.006584, allocations: 170.8 kB / 352.8 MB, free: 4.34 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.006619, allocations: 15.84 kB / 352.8 MB, free: 4.324 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.006651, allocations: 31.34 kB / 352.8 MB, free: 4.285 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.027e-05/0.006741, allocations: 0.5001 MB / 353.3 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.006763, allocations: 7.938 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.71e-05/0.00679, allocations: 31.34 kB / 353.4 MB, free: 3.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.006838, allocations: 35.31 kB / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.006841, allocations: 0 / 353.4 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.682e-05/0.006918, allocations: 73.59 kB / 353.5 MB, free: 3.605 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.00693, allocations: 4 kB / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.006935, allocations: 0 / 353.5 MB, free: 3.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.006948, allocations: 3.938 kB / 353.5 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.007016, allocations: 23.95 kB / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.085e-06/0.007019, allocations: 0 / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.007049, allocations: 0 / 353.5 MB, free: 3.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.007053, allocations: 4 kB / 353.5 MB, free: 3.57 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 5.764e-05/0.007111, allocations: 160.6 kB / 353.6 MB, free: 3.402 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.436e-05/0.007125, allocations: 15.89 kB / 353.7 MB, free: 3.387 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/0.007239, allocations: 78.83 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.007242, allocations: 3.938 kB / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.007244, allocations: 0 / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.007248, allocations: 0 / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.44e-05/0.007332, allocations: 137.1 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.007335, allocations: 384 / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.426e-05/0.007359, allocations: 8 kB / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007362, allocations: 0 / 353.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-06/0.007367, allocations: 4 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.007368, allocations: 0 / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.00737, allocations: 0 / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.913e-05/0.007469, allocations: 124.2 kB / 354 MB, free: 2.98 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.787e-05/0.007487, allocations: 11.91 kB / 354 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.007502, allocations: 0 / 354 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.288e-05/0.007524, allocations: 4 kB / 354 MB, free: 2.965 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.345e-05/0.007548, allocations: 11.98 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.007561, allocations: 7.938 kB / 354 MB, free: 2.945 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.196e-05/0.007613, allocations: 176.4 kB / 354.2 MB, free: 2.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007613, allocations: 3.938 kB / 354.2 MB, free: 2.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001455/0.007758, allocations: 23.94 kB / 354.2 MB, free: 2.746 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.0007935/0.008552, allocations: 390.5 kB / 354.6 MB, free: 2.457 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.008661, allocations: 35.67 kB / 354.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.008663, allocations: 0 / 354.7 MB, free: 2.418 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.698e-05/0.00869, allocations: 23.61 kB / 354.7 MB, free: 2.391 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.008896, allocations: 41.02 kB / 354.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.009248, allocations: 217.8 kB / 354.9 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.482e-05/0.009283, allocations: 79.33 kB / 355 MB, free: 2.016 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.294e-05/0.009316, allocations: 8.484 kB / 355 MB, free: 2.008 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.963e-05/0.009376, allocations: 82.2 kB / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of SimCode: time 1.703e-06/0.009377, allocations: 0 / 355.1 MB, free: 1.926 MB / 282.7 MB Notification: Performance of Templates: time 0.003658/0.01304, allocations: 1.789 MB / 356.9 MB, free: 156 kB / 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.2463825778104365]