Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.001589/0.001589, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.00187/0.00187, allocations: 174.5 kB / 24.91 MB, free: 8.773 MB / 18.57 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.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.7 MB " [Timeout remaining time 179] 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.2609/0.2609, allocations: 32.8 MB / 294.6 MB, free: 1.203 MB / 266.7 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 323.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.011e-05, allocations: 3.188 kB / 323.3 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.0022/0.00222, allocations: 1.72 MB / 325 MB, free: 7.914 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.003353, allocations: 0.9927 MB / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.003413, allocations: 0 / 326 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.00365, allocations: 67.66 kB / 326.1 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002649/0.003915, allocations: 111.5 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.004079, allocations: 71.67 kB / 326.3 MB, free: 6.672 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001379/0.004217, allocations: 107.6 kB / 326.4 MB, free: 6.566 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.593e-05/0.004253, allocations: 8.844 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.628e-05/0.004339, allocations: 59.83 kB / 326.4 MB, free: 6.5 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.656e-05/0.004416, allocations: 43.88 kB / 326.5 MB, free: 6.457 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.244e-05/0.004428, allocations: 4 kB / 326.5 MB, free: 6.453 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.486e-05/0.004493, allocations: 31.88 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.00453, allocations: 23.92 kB / 326.5 MB, free: 6.398 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.004557, allocations: 15.92 kB / 326.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.004684, allocations: 91.61 kB / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004686, allocations: 0 / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.004687, allocations: 0 / 326.6 MB, free: 6.293 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.196e-06/0.00469, allocations: 4 kB / 326.6 MB, free: 6.289 MB / 298.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.0002785/0.004969, allocations: 309.5 kB / 326.9 MB, free: 5.965 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.47e-05/0.004993, allocations: 8.031 kB / 327 MB, free: 5.957 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.408e-05/0.005017, allocations: 12.92 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.005141, allocations: 151.4 kB / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.005151, allocations: 384 / 327.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.00516, allocations: 4.375 kB / 327.1 MB, free: 5.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.347e-05/0.005234, allocations: 57.77 kB / 327.2 MB, free: 5.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.611e-06/0.005239, allocations: 3.938 kB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.005245, allocations: 0 / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.005248, allocations: 4 kB / 327.2 MB, free: 5.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.005269, allocations: 15.97 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.008e-05/0.005339, allocations: 66.7 kB / 327.3 MB, free: 5.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.691e-05/0.005406, allocations: 37.38 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.005423, allocations: 12.86 kB / 327.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.005432, allocations: 4 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.005493, allocations: 58.2 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 5.71e-07/0.005493, allocations: 0 / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 9.036e-05/0.005584, allocations: 73.61 kB / 327.4 MB, free: 5.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/0.005608, allocations: 55.34 kB / 327.5 MB, free: 5.316 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.683e-05/0.005705, allocations: 173.5 kB / 327.7 MB, free: 5.133 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.005716, allocations: 29.69 kB / 327.7 MB, free: 5.098 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.005748, allocations: 100.1 kB / 327.8 MB, free: 4.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.339e-05/0.005772, allocations: 19.81 kB / 327.8 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.005797, allocations: 17.72 kB / 327.8 MB, free: 4.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.00587, allocations: 326.8 kB / 328.2 MB, free: 4.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.18e-05/0.005882, allocations: 6.828 kB / 328.2 MB, free: 4.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.005903, allocations: 25.69 kB / 328.2 MB, free: 4.586 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.005938, allocations: 39.3 kB / 328.2 MB, free: 4.539 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.00594, allocations: 3.984 kB / 328.2 MB, free: 4.535 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.426e-05/0.005994, allocations: 56.52 kB / 328.3 MB, free: 4.473 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.085e-05/0.006005, allocations: 10.34 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.317e-06/0.006008, allocations: 0 / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.033e-06/0.006015, allocations: 0 / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.289e-05/0.006058, allocations: 19.86 kB / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.144e-06/0.00606, allocations: 0 / 328.3 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.318e-05/0.006084, allocations: 4 kB / 328.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.056e-06/0.006087, allocations: 32 / 328.3 MB, free: 4.441 MB / 298.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.712e-05/0.006144, allocations: 120.7 kB / 328.4 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.006154, allocations: 7.984 kB / 328.4 MB, free: 4.305 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.191e-05/0.006226, allocations: 62.83 kB / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.006228, allocations: 0 / 328.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.00623, allocations: 3.938 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.006233, allocations: 0 / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.745e-05/0.006301, allocations: 81.88 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.006304, allocations: 8.312 kB / 328.6 MB, free: 4.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.329e-05/0.006317, allocations: 4 kB / 328.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.006319, allocations: 3.984 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-06/0.006324, allocations: 8 kB / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.006324, allocations: 0 / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.006325, allocations: 0 / 328.6 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.332e-05/0.006388, allocations: 94.69 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.307e-05/0.006401, allocations: 11.91 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.006413, allocations: 4 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.513e-05/0.006428, allocations: 0 / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.006445, allocations: 7.984 kB / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.006453, allocations: 0 / 328.7 MB, free: 3.977 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.979e-05/0.006492, allocations: 55.58 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006493, allocations: 7.938 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001113/0.006604, allocations: 23.88 kB / 328.8 MB, free: 3.887 MB / 298.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.001017/0.007621, allocations: 0.4955 MB / 329.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 6.983e-05/0.007691, allocations: 32.84 kB / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.007694, allocations: 0 / 329.3 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.529e-05/0.00772, allocations: 20.8 kB / 329.4 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.007837, allocations: 27.22 kB / 329.4 MB, free: 3.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002496/0.008086, allocations: 202.8 kB / 329.6 MB, free: 3.348 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.525e-05/0.008122, allocations: 63.34 kB / 329.6 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.747e-05/0.008149, allocations: 16.47 kB / 329.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.401e-05/0.008203, allocations: 67.38 kB / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of SimCode: time 7.42e-07/0.008204, allocations: 0 / 329.7 MB, free: 3.184 MB / 298.7 MB Notification: Performance of Templates: time 0.002988/0.01119, allocations: 1.773 MB / 331.5 MB, free: 1.43 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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: 2.950286751613021]