Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.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.001315/0.001315, 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.001185/0.001185, allocations: 169 kB / 24.14 MB, free: 364 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.9823/0.9823, 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.1527/0.1527, allocations: 32.38 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.Test77,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.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 299.1 MB, free: 2.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.3e-05, allocations: 2.312 kB / 299.1 MB, free: 2.129 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002592/0.002615, allocations: 1.863 MB / 301 MB, free: 256 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1394/0.142, allocations: 0.8843 MB / 301.9 MB, free: 19.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000119/0.1421, allocations: 6.188 kB / 301.9 MB, free: 19.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004518/0.1426, allocations: 165.9 kB / 302.1 MB, free: 19.17 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000381/0.143, allocations: 139 kB / 302.2 MB, free: 19.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003986/0.1434, allocations: 150.2 kB / 302.3 MB, free: 19.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003486/0.1437, allocations: 223.7 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1438, allocations: 12.08 kB / 302.6 MB, free: 19.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.144, allocations: 127.4 kB / 302.7 MB, free: 19.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.1442, allocations: 107.1 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.1442, allocations: 7.656 kB / 302.8 MB, free: 19.08 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.1444, allocations: 48.77 kB / 302.9 MB, free: 19.07 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.552e-05/0.1444, allocations: 53.48 kB / 302.9 MB, free: 19.06 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.237e-05/0.1445, allocations: 35.48 kB / 302.9 MB, free: 19.05 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.1447, allocations: 160.4 kB / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1447, allocations: 0.6562 kB / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1447, allocations: 0 / 303.1 MB, free: 19.02 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.1447, allocations: 0.5938 kB / 303.1 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.0004875/0.1452, allocations: 431.6 kB / 303.5 MB, free: 18.69 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1453, allocations: 9.75 kB / 303.5 MB, free: 18.69 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.1453, allocations: 21.16 kB / 303.6 MB, free: 18.68 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.1455, allocations: 189.8 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.1455, allocations: 5.938 kB / 303.7 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.1456, allocations: 7.391 kB / 303.8 MB, free: 18.53 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1457, allocations: 99.53 kB / 303.9 MB, free: 18.46 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1457, allocations: 11.06 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.317e-06/0.1458, allocations: 0.6562 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.1458, allocations: 2.281 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.636e-05/0.1458, allocations: 25.83 kB / 303.9 MB, free: 18.45 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002767/0.1461, allocations: 279.2 kB / 304.2 MB, free: 18.21 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1462, allocations: 175.1 kB / 304.3 MB, free: 18.06 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.509e-05/0.1462, allocations: 24.5 kB / 304.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.492e-05/0.1463, allocations: 3.656 kB / 304.4 MB, free: 18.05 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/0.1464, allocations: 108.4 kB / 304.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.1464, allocations: 0 / 304.5 MB, free: 17.97 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004807/0.1469, allocations: 208.3 kB / 304.7 MB, free: 17.92 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.1469, allocations: 84.12 kB / 304.8 MB, free: 17.82 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1471, allocations: 277.1 kB / 305 MB, free: 17.7 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.708e-05/0.1471, allocations: 30.8 kB / 305.1 MB, free: 17.66 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.1472, allocations: 111.2 kB / 305.2 MB, free: 17.58 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.1472, allocations: 52.03 kB / 305.2 MB, free: 17.55 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.882e-05/0.1473, allocations: 35 kB / 305.2 MB, free: 17.53 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.293e-05/0.1473, allocations: 338.3 kB / 305.6 MB, free: 17.22 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.525e-05/0.1474, allocations: 19.08 kB / 305.6 MB, free: 17.21 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.736e-05/0.1474, allocations: 55.38 kB / 305.6 MB, free: 17.18 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.727e-05/0.1475, allocations: 91.16 kB / 305.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1475, allocations: 1.062 kB / 305.7 MB, free: 17.13 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001805/0.1477, allocations: 113.4 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.1477, allocations: 6.531 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1477, allocations: 2.391 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.1477, allocations: 3.281 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.1478, allocations: 27.36 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1478, allocations: 3.219 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.112e-05/0.1479, allocations: 9.688 kB / 305.9 MB, free: 17.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1479, allocations: 7.859 kB / 305.9 MB, free: 17.09 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 7.438e-05/0.148, allocations: 129.4 kB / 306 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.148, allocations: 22.52 kB / 306.1 MB, free: 16.96 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002111/0.1482, allocations: 121.3 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.1482, allocations: 3.234 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1482, allocations: 5.719 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1482, allocations: 4.219 kB / 306.2 MB, free: 16.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003869/0.1486, allocations: 0.4894 MB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1486, allocations: 0 / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.582e-05/0.1487, allocations: 22.75 kB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1487, allocations: 1.219 kB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1487, allocations: 8.016 kB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.1487, allocations: 2.938 kB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1487, allocations: 1.188 kB / 306.7 MB, free: 16.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.1489, allocations: 377.9 kB / 307.1 MB, free: 16.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.1489, allocations: 23.97 kB / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.149, allocations: 7.344 kB / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1491, allocations: 9.172 kB / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.251e-05/0.1491, allocations: 20.02 kB / 307.1 MB, free: 16.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.1491, allocations: 10.5 kB / 307.2 MB, free: 16.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000128/0.1493, allocations: 107.7 kB / 307.3 MB, free: 16.18 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1493, allocations: 7.938 kB / 307.3 MB, free: 16.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.1496, allocations: 43.72 kB / 307.3 MB, free: 16.17 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.001382/0.151, allocations: 0.5804 MB / 307.9 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1511, allocations: 85.84 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.1511, allocations: 2.625 kB / 308 MB, free: 15.83 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.957e-05/0.1512, allocations: 45.06 kB / 308 MB, free: 15.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1516, allocations: 58.67 kB / 308.1 MB, free: 15.81 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.1521, allocations: 387.7 kB / 308.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.24e-05/0.1521, allocations: 85.42 kB / 308.5 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.1522, allocations: 40.23 kB / 308.6 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1523, allocations: 92.02 kB / 308.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of SimCode: time 5.11e-07/0.1523, allocations: 0 / 308.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of Templates: time 0.006453/0.1588, allocations: 3.159 MB / 311.8 MB, free: 14.79 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.146938070654869]