Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.0009572/0.0009572, allocations: 79.92 kB / 20.72 MB, free: 3.77 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.001071/0.001071, allocations: 169 kB / 24.14 MB, free: 360 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 0.954/0.954, allocations: 158.6 MB / 186 MB, free: 2.77 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.129/0.129, allocations: 32.39 MB / 270.7 MB, free: 14.6 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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.065e-06/3.065e-06, allocations: 0 / 299.1 MB, free: 2.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.777e-05/4.084e-05, allocations: 2.312 kB / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003166/0.003207, allocations: 1.864 MB / 301 MB, free: 260 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1425/0.1457, allocations: 0.8991 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001101/0.1458, allocations: 5.781 kB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.1463, allocations: 221 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003903/0.1466, allocations: 171.4 kB / 302.3 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.147, allocations: 145.4 kB / 302.4 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.1474, allocations: 235.4 kB / 302.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001245/0.1475, allocations: 14.14 kB / 302.7 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.1477, allocations: 136.7 kB / 302.8 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001962/0.1479, allocations: 128.2 kB / 302.9 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.148, allocations: 7.75 kB / 302.9 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1481, allocations: 48.22 kB / 303 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.1482, allocations: 55.72 kB / 303 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.1482, allocations: 43.89 kB / 303.1 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003008/0.1485, allocations: 172.5 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1485, allocations: 0 / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1485, allocations: 0.7812 kB / 303.3 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1485, allocations: 0 / 303.3 MB, free: 19.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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004726/0.149, allocations: 460.8 kB / 303.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.149, allocations: 10.81 kB / 303.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.542e-05/0.1491, allocations: 20.78 kB / 303.7 MB, free: 18.66 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.1493, allocations: 202.5 kB / 303.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.1493, allocations: 7.109 kB / 303.9 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.1494, allocations: 5.766 kB / 304 MB, free: 18.49 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.1495, allocations: 102.9 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.1495, allocations: 5.094 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1495, allocations: 1.406 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1496, allocations: 2.312 kB / 304.1 MB, free: 18.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.366e-05/0.1496, allocations: 22.7 kB / 304.1 MB, free: 18.41 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1499, allocations: 286.7 kB / 304.4 MB, free: 18.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.1501, allocations: 175 kB / 304.5 MB, free: 18.02 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.676e-05/0.1501, allocations: 30.86 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.1501, allocations: 1.125 kB / 304.6 MB, free: 18.01 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001443/0.1502, allocations: 114.3 kB / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.924e-06/0.1502, allocations: 0 / 304.7 MB, free: 17.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004349/0.1507, allocations: 204 kB / 304.9 MB, free: 17.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.1507, allocations: 80.97 kB / 305 MB, free: 17.78 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002314/0.1509, allocations: 313.8 kB / 305.3 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.151, allocations: 33.8 kB / 305.3 MB, free: 17.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.392e-05/0.151, allocations: 114.5 kB / 305.4 MB, free: 17.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.221e-05/0.151, allocations: 48.48 kB / 305.5 MB, free: 17.52 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.1511, allocations: 33.19 kB / 305.5 MB, free: 17.5 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.659e-05/0.1512, allocations: 344.4 kB / 305.8 MB, free: 17.19 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.607e-05/0.1512, allocations: 17.91 kB / 305.8 MB, free: 17.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.948e-05/0.1512, allocations: 54.19 kB / 305.9 MB, free: 17.15 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.639e-05/0.1513, allocations: 87.5 kB / 306 MB, free: 17.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1513, allocations: 0.5938 kB / 306 MB, free: 17.1 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001363/0.1515, allocations: 122.6 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.1515, allocations: 5.5 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.1515, allocations: 1.594 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.1515, allocations: 7.109 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.1516, allocations: 31.11 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.1516, allocations: 2.875 kB / 306.1 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.424e-05/0.1516, allocations: 5.719 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.1516, allocations: 4.812 kB / 306.2 MB, free: 17.05 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 6.679e-05/0.1517, allocations: 129.5 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1517, allocations: 22.97 kB / 306.3 MB, free: 16.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001708/0.1519, allocations: 130.7 kB / 306.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.708e-06/0.1519, allocations: 4.297 kB / 306.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.1519, allocations: 5.219 kB / 306.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1519, allocations: 5.266 kB / 306.4 MB, free: 16.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003447/0.1523, allocations: 0.4952 MB / 306.9 MB, free: 16.5 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1523, allocations: 5.344 kB / 306.9 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.4e-05/0.1523, allocations: 18.23 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.1523, allocations: 1.906 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.1523, allocations: 7.641 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1523, allocations: 2.25 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.1523, allocations: 1.672 kB / 307 MB, free: 16.49 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001545/0.1525, allocations: 386.4 kB / 307.4 MB, free: 16.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.114e-05/0.1525, allocations: 21.25 kB / 307.4 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.279e-05/0.1525, allocations: 6.266 kB / 307.4 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.031e-05/0.1526, allocations: 9.469 kB / 307.4 MB, free: 16.16 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1526, allocations: 18.27 kB / 307.4 MB, free: 16.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.1526, allocations: 9.578 kB / 307.4 MB, free: 16.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.1528, allocations: 133.4 kB / 307.5 MB, free: 16.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1528, allocations: 0 / 307.5 MB, free: 16.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002209/0.153, allocations: 46.25 kB / 307.6 MB, free: 16.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001248/0.1542, allocations: 0.5856 MB / 308.2 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.1544, allocations: 75.66 kB / 308.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/0.1544, allocations: 2.844 kB / 308.3 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.872e-05/0.1545, allocations: 61.7 kB / 308.3 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.1548, allocations: 56.88 kB / 308.4 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005781/0.1554, allocations: 429.2 kB / 308.8 MB, free: 15.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.148e-05/0.1554, allocations: 93.66 kB / 308.9 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.421e-05/0.1555, allocations: 36.67 kB / 308.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.1556, allocations: 87.52 kB / 309 MB, free: 15.35 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1556, allocations: 0 / 309 MB, free: 15.35 MB / 282.7 MB Notification: Performance of Templates: time 0.006853/0.1625, allocations: 3.186 MB / 312.2 MB, free: 14.62 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.1067551700398326]