Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.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.001032/0.001032, allocations: 81.95 kB / 21.44 MB, free: 3.062 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.001146/0.001146, allocations: 168.8 kB / 24.84 MB, free: 9.191 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.9609/0.9609, allocations: 158.6 MB / 186.7 MB, free: 2.812 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.1437/0.1437, allocations: 32.38 MB / 271.5 MB, free: 14.54 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.275e-06/2.275e-06, allocations: 4 kB / 349 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.474e-05/1.701e-05, allocations: 6.25 kB / 349 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.001838/0.001855, allocations: 1.722 MB / 350.7 MB, free: 7.371 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008566/0.002711, allocations: 0.7803 MB / 351.5 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.03e-05/0.002781, allocations: 4 kB / 351.5 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002806/0.003062, allocations: 47.7 kB / 351.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001759/0.003238, allocations: 55.75 kB / 351.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001881/0.003426, allocations: 83.69 kB / 351.7 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.00354, allocations: 103.6 kB / 351.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.668e-05/0.003607, allocations: 8.234 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.003667, allocations: 51.88 kB / 351.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.003722, allocations: 19.92 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.003737, allocations: 8 kB / 351.9 MB, free: 6.207 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.993e-05/0.003797, allocations: 47.91 kB / 351.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.003833, allocations: 31.8 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.453e-05/0.003858, allocations: 15.94 kB / 352 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.003969, allocations: 95.66 kB / 352.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.003971, allocations: 0 / 352.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.003971, allocations: 0 / 352.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.003975, allocations: 0 / 352.1 MB, free: 6.02 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002933/0.004268, allocations: 443.9 kB / 352.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.929e-05/0.004297, allocations: 12.03 kB / 352.5 MB, free: 5.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.00433, allocations: 8.891 kB / 352.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.00443, allocations: 152.4 kB / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.004443, allocations: 384 / 352.7 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.004456, allocations: 12.33 kB / 352.7 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.429e-05/0.004541, allocations: 54.94 kB / 352.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.00455, allocations: 7.922 kB / 352.7 MB, free: 5.273 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.004556, allocations: 3.938 kB / 352.7 MB, free: 5.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004561, allocations: 4 kB / 352.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.27e-05/0.004584, allocations: 15.98 kB / 352.8 MB, free: 5.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001724/0.004756, allocations: 248.5 kB / 353 MB, free: 4.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.458e-05/0.004831, allocations: 63.09 kB / 353.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.883e-05/0.00485, allocations: 19.66 kB / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.356e-06/0.004858, allocations: 0 / 353.1 MB, free: 4.883 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.692e-05/0.004935, allocations: 68.98 kB / 353.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 6.21e-07/0.004936, allocations: 0 / 353.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002403/0.005176, allocations: 133.4 kB / 353.3 MB, free: 4.664 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.519e-05/0.005191, allocations: 51.41 kB / 353.3 MB, free: 4.602 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.927e-05/0.00527, allocations: 228 kB / 353.6 MB, free: 4.363 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-06/0.005278, allocations: 29.64 kB / 353.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.672e-05/0.005305, allocations: 150.9 kB / 353.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.84e-05/0.005323, allocations: 23.78 kB / 353.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.005349, allocations: 31.36 kB / 353.8 MB, free: 4.113 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.005392, allocations: 0.4962 MB / 354.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.323e-05/0.005405, allocations: 11.98 kB / 354.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.044e-05/0.005426, allocations: 31.34 kB / 354.3 MB, free: 3.555 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.495e-05/0.005461, allocations: 39.38 kB / 354.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.32e-07/0.005461, allocations: 0 / 354.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.405e-05/0.005536, allocations: 101.5 kB / 354.5 MB, free: 3.402 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.005544, allocations: 12.03 kB / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.005547, allocations: 0 / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-06/0.005556, allocations: 0 / 354.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.046e-05/0.005606, allocations: 15.94 kB / 354.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.115e-06/0.00561, allocations: 4 kB / 354.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.005632, allocations: 3.984 kB / 354.5 MB, free: 3.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-06/0.005637, allocations: 8 kB / 354.5 MB, free: 3.359 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 (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 4.106e-05/0.005678, allocations: 154.8 kB / 354.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.00569, allocations: 19.84 kB / 354.7 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.795e-05/0.005788, allocations: 102.4 kB / 354.8 MB, free: 3.074 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.00579, allocations: 4 kB / 354.8 MB, free: 3.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-06/0.005791, allocations: 4 kB / 354.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.005794, allocations: 0 / 354.8 MB, free: 3.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.005969, allocations: 353.6 kB / 355.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.00597, allocations: 4.312 kB / 355.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.008e-05/0.00599, allocations: 11.98 kB / 355.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.005991, allocations: 4 kB / 355.1 MB, free: 2.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005997, allocations: 4 kB / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.005998, allocations: 0 / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.005999, allocations: 0 / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.384e-05/0.006083, allocations: 263.4 kB / 355.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-06/0.006091, allocations: 7.953 kB / 355.4 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.006105, allocations: 4 kB / 355.4 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.293e-05/0.006148, allocations: 7.984 kB / 355.4 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.243e-05/0.00617, allocations: 7.938 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/0.006178, allocations: 3.984 kB / 355.4 MB, free: 2.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.832e-05/0.006216, allocations: 160 kB / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006216, allocations: 0 / 355.6 MB, free: 2.191 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.006377, allocations: 23.94 kB / 355.6 MB, free: 2.168 MB / 282.7 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.00073/0.007107, allocations: 433.2 kB / 356 MB, free: 1.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.819e-05/0.007195, allocations: 59.5 kB / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.62e-07/0.007196, allocations: 0 / 356.1 MB, free: 1.77 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.582e-05/0.007222, allocations: 27.67 kB / 356.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.00742, allocations: 39.77 kB / 356.2 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002146/0.007634, allocations: 213.4 kB / 356.4 MB, free: 1.457 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.389e-05/0.007658, allocations: 67.33 kB / 356.4 MB, free: 1.371 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.814e-05/0.007686, allocations: 16.61 kB / 356.5 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.007734, allocations: 90.19 kB / 356.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.007735, allocations: 0 / 356.5 MB, free: 1.266 MB / 282.7 MB Notification: Performance of Templates: time 0.003078/0.01081, allocations: 2.035 MB / 358.6 MB, free: 15.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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.245938134845346]