Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.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.001274/0.001274, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.00152/0.00152, allocations: 169.3 kB / 24.24 MB, free: 316 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.05/1.05, 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.1463/0.1463, allocations: 32.38 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 7.938 kB / 347.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.006e-05/3.171e-05, allocations: 6.25 kB / 347.8 MB, free: 9.691 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.001921/0.001953, allocations: 1.726 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008409/0.002794, allocations: 0.7959 MB / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.366e-05/0.002858, allocations: 0 / 350.3 MB, free: 7.148 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002496/0.003107, allocations: 51.75 kB / 350.3 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.003276, allocations: 55.69 kB / 350.4 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.003438, allocations: 87.7 kB / 350.5 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.003568, allocations: 111.7 kB / 350.6 MB, free: 6.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.828e-05/0.003647, allocations: 12.17 kB / 350.6 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.857e-05/0.003715, allocations: 71.75 kB / 350.7 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.952e-05/0.003785, allocations: 43.88 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.003801, allocations: 4 kB / 350.7 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.344e-05/0.003865, allocations: 39.98 kB / 350.7 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.471e-05/0.00391, allocations: 35.86 kB / 350.8 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.641e-05/0.003946, allocations: 23.91 kB / 350.8 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.004102, allocations: 115.5 kB / 350.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004104, allocations: 0 / 350.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004105, allocations: 0 / 350.9 MB, free: 6.508 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.00411, allocations: 0 / 350.9 MB, free: 6.508 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003312/0.004441, allocations: 455.9 kB / 351.4 MB, free: 6.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.071e-05/0.004471, allocations: 8.031 kB / 351.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.259e-05/0.004514, allocations: 20.84 kB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.004641, allocations: 149.1 kB / 351.5 MB, free: 5.828 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.43e-05/0.004655, allocations: 4.312 kB / 351.5 MB, free: 5.824 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.004673, allocations: 8.375 kB / 351.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001091/0.004782, allocations: 70.92 kB / 351.6 MB, free: 5.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.00479, allocations: 3.938 kB / 351.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.004798, allocations: 0 / 351.6 MB, free: 5.734 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.61e-06/0.004803, allocations: 4 kB / 351.6 MB, free: 5.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.004853, allocations: 35.95 kB / 351.7 MB, free: 5.695 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002408/0.005094, allocations: 303.6 kB / 352 MB, free: 5.363 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.005211, allocations: 67.09 kB / 352 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.138e-05/0.005243, allocations: 35.59 kB / 352.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.005253, allocations: 0 / 352.1 MB, free: 5.246 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.006e-05/0.005343, allocations: 73.03 kB / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.005346, allocations: 0 / 352.1 MB, free: 5.16 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003522/0.005698, allocations: 197.3 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/0.005717, allocations: 51.41 kB / 352.4 MB, free: 4.898 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.591e-05/0.005813, allocations: 236 kB / 352.6 MB, free: 4.652 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/0.005821, allocations: 25.7 kB / 352.6 MB, free: 4.621 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.706e-05/0.005858, allocations: 150.9 kB / 352.8 MB, free: 4.469 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.005882, allocations: 39.8 kB / 352.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.005918, allocations: 31.38 kB / 352.8 MB, free: 4.391 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.005967, allocations: 0.5 MB / 353.3 MB, free: 3.879 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.005996, allocations: 16 kB / 353.4 MB, free: 3.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.492e-05/0.00603, allocations: 39.36 kB / 353.4 MB, free: 3.816 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.94e-05/0.00609, allocations: 67.23 kB / 353.5 MB, free: 3.742 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.006091, allocations: 4 kB / 353.5 MB, free: 3.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001124/0.006203, allocations: 113.5 kB / 353.6 MB, free: 3.621 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/0.006214, allocations: 4 kB / 353.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.006219, allocations: 4.469 kB / 353.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.137e-06/0.006229, allocations: 0 / 353.6 MB, free: 3.613 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.262e-05/0.006301, allocations: 19.98 kB / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.006306, allocations: 0 / 353.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.808e-05/0.006334, allocations: 8 kB / 353.6 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.00634, allocations: 7.938 kB / 353.6 MB, free: 3.578 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 (12): * Single equations (assignments): 12 * 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.645e-05/0.006386, allocations: 160.5 kB / 353.8 MB, free: 3.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.006402, allocations: 15.95 kB / 353.8 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.006556, allocations: 147 kB / 353.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.006558, allocations: 0 / 353.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.006561, allocations: 8 kB / 353.9 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.006566, allocations: 3.984 kB / 353.9 MB, free: 3.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.006822, allocations: 428.8 kB / 354.4 MB, free: 2.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.006824, allocations: 4 kB / 354.4 MB, free: 2.762 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.006862, allocations: 19.92 kB / 354.4 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.006865, allocations: 4 kB / 354.4 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.006873, allocations: 8.031 kB / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.006874, allocations: 0 / 354.4 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.006876, allocations: 4 kB / 354.4 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001203/0.006996, allocations: 279.4 kB / 354.7 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.12e-05/0.007007, allocations: 7.953 kB / 354.7 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.748e-05/0.007025, allocations: 8 kB / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.175e-05/0.007067, allocations: 0 / 354.7 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.007096, allocations: 19.86 kB / 354.7 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.007109, allocations: 11.98 kB / 354.7 MB, free: 2.383 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.756e-05/0.007156, allocations: 163.9 kB / 354.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.007156, allocations: 4 kB / 354.9 MB, free: 2.219 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001646/0.007321, allocations: 27.95 kB / 354.9 MB, free: 2.191 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 (13): * Single equations (assignments): 11 * 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.001127/0.008447, allocations: 436.1 kB / 355.3 MB, free: 1.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001134/0.008561, allocations: 75.52 kB / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008562, allocations: 0 / 355.4 MB, free: 1.785 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.008606, allocations: 43.61 kB / 355.5 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.0002309/0.008837, allocations: 40.12 kB / 355.5 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.009175, allocations: 245.6 kB / 355.7 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.009206, allocations: 71.33 kB / 355.8 MB, free: 1.34 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.942e-05/0.009246, allocations: 20.62 kB / 355.8 MB, free: 1.32 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.647e-05/0.009282, allocations: 24.48 kB / 355.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of SimCode: time 8.21e-07/0.009283, allocations: 0 / 355.9 MB, free: 1.297 MB / 282.7 MB Notification: Performance of Templates: time 0.003586/0.01287, allocations: 2.101 MB / 358 MB, free: 15.21 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.3723277158569545]