Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.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.001602/0.001602, allocations: 85.95 kB / 21.44 MB, free: 3.055 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.004812/0.004812, allocations: 168.2 kB / 24.84 MB, free: 9.293 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.9679/0.9679, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1495/0.1495, allocations: 32.38 MB / 271.5 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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") translateModel(ModelicaTest.Tables.CombiTimeTable.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 349 MB, free: 9.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.3e-05/2.472e-05, allocations: 2.312 kB / 349 MB, free: 9.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test27): time 0.002506/0.002531, allocations: 1.721 MB / 350.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.003629, allocations: 0.7881 MB / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.079e-05/0.003709, allocations: 0 / 351.5 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.004029, allocations: 39.7 kB / 351.5 MB, free: 6.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.004242, allocations: 55.75 kB / 351.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.00444, allocations: 95.64 kB / 351.7 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.004589, allocations: 95.69 kB / 351.8 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.87e-05/0.004678, allocations: 4.234 kB / 351.8 MB, free: 6.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.004748, allocations: 55.83 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.004815, allocations: 19.91 kB / 351.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.004832, allocations: 4 kB / 351.9 MB, free: 6.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.638e-05/0.004899, allocations: 47.91 kB / 351.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.775e-05/0.004946, allocations: 31.86 kB / 351.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.61e-05/0.004983, allocations: 15.94 kB / 352 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.005129, allocations: 95.59 kB / 352.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005132, allocations: 4 kB / 352.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.005134, allocations: 0 / 352.1 MB, free: 6.004 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.005138, allocations: 0 / 352.1 MB, free: 6.004 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.0003672/0.005505, allocations: 443.9 kB / 352.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.00554, allocations: 12.03 kB / 352.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.005574, allocations: 8.891 kB / 352.5 MB, free: 5.516 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.005696, allocations: 152.4 kB / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.00571, allocations: 384 / 352.7 MB, free: 5.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.116e-05/0.005731, allocations: 8.328 kB / 352.7 MB, free: 5.332 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.005852, allocations: 70.81 kB / 352.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.005863, allocations: 7.938 kB / 352.7 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.005872, allocations: 4 kB / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.005878, allocations: 0 / 352.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.876e-05/0.005917, allocations: 7.984 kB / 352.8 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.006166, allocations: 252.5 kB / 353 MB, free: 4.961 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.564e-05/0.006252, allocations: 55.09 kB / 353.1 MB, free: 4.895 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.006272, allocations: 19.66 kB / 353.1 MB, free: 4.871 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.006288, allocations: 4 kB / 353.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.696e-05/0.006375, allocations: 64.98 kB / 353.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.873e-06/0.006376, allocations: 4 kB / 353.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002989/0.006675, allocations: 133.4 kB / 353.3 MB, free: 4.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.006696, allocations: 55.41 kB / 353.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.497e-05/0.006771, allocations: 224 kB / 353.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.648e-06/0.00678, allocations: 29.7 kB / 353.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.672e-05/0.006817, allocations: 146.9 kB / 353.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.006846, allocations: 27.78 kB / 353.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.006877, allocations: 27.36 kB / 353.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.006936, allocations: 0.4923 MB / 354.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.006953, allocations: 15.92 kB / 354.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.139e-05/0.006985, allocations: 39.34 kB / 354.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.466e-05/0.007029, allocations: 39.38 kB / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.007031, allocations: 0 / 354.4 MB, free: 3.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001173/0.007149, allocations: 97.52 kB / 354.5 MB, free: 3.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.007167, allocations: 4 kB / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.007174, allocations: 0 / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.007185, allocations: 0 / 354.5 MB, free: 3.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.439e-05/0.007259, allocations: 19.98 kB / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.007262, allocations: 0 / 354.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.007291, allocations: 8.031 kB / 354.5 MB, free: 3.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.007298, allocations: 4 kB / 354.5 MB, free: 3.352 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 7.839e-05/0.007377, allocations: 168.5 kB / 354.7 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.007392, allocations: 15.84 kB / 354.7 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.007538, allocations: 94.39 kB / 354.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.007544, allocations: 7.984 kB / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.007547, allocations: 384 / 354.8 MB, free: 3.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.007553, allocations: 3.938 kB / 354.8 MB, free: 3.051 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.007781, allocations: 353.6 kB / 355.1 MB, free: 2.668 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.007784, allocations: 8.031 kB / 355.1 MB, free: 2.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.945e-05/0.007813, allocations: 12 kB / 355.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.007816, allocations: 0 / 355.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.007824, allocations: 3.984 kB / 355.1 MB, free: 2.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.007827, allocations: 4 kB / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.007829, allocations: 0 / 355.1 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.007942, allocations: 259.4 kB / 355.4 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.007953, allocations: 7.953 kB / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.632e-05/0.007969, allocations: 0 / 355.4 MB, free: 2.355 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.978e-05/0.008009, allocations: 4 kB / 355.4 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.128e-05/0.00804, allocations: 15.98 kB / 355.4 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.008053, allocations: 4 kB / 355.4 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.631e-05/0.008099, allocations: 152 kB / 355.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008099, allocations: 0 / 355.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001754/0.008274, allocations: 31.92 kB / 355.6 MB, free: 2.152 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.001314/0.009588, allocations: 433.1 kB / 356 MB, free: 1.816 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001247/0.009713, allocations: 59.5 kB / 356.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.009716, allocations: 4 kB / 356.1 MB, free: 1.75 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.115e-05/0.009747, allocations: 27.73 kB / 356.1 MB, free: 1.719 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002561/0.01, allocations: 31.83 kB / 356.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.01031, allocations: 217.3 kB / 356.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.92e-05/0.01034, allocations: 67.33 kB / 356.4 MB, free: 1.355 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.083e-05/0.01037, allocations: 12.5 kB / 356.4 MB, free: 1.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.01043, allocations: 94.19 kB / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.01043, allocations: 0 / 356.5 MB, free: 1.25 MB / 282.7 MB Notification: Performance of Templates: time 0.003501/0.01393, allocations: 2.039 MB / 358.6 MB, free: 15.23 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test27/Test27.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.109705737326294]