Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 94.16 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 182.8 kB / 17.87 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2149/0.2149, allocations: 44.22 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003446, allocations: 12.61 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1284, allocations: 61.91 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002005/0.1305, allocations: 1.395 MB / 472.9 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1316, allocations: 0.7881 MB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.37e-05/0.1317, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002022/0.1319, allocations: 31.78 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.1321, allocations: 43.88 kB / 473.7 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000241/0.1323, allocations: 91.14 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000123/0.1325, allocations: 63.8 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.182e-05/0.1325, allocations: 16.22 kB / 473.9 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.023e-05/0.1326, allocations: 31.86 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.876e-05/0.1327, allocations: 27.84 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.1327, allocations: 7.938 kB / 473.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.113e-05/0.1328, allocations: 27.98 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.67e-05/0.1328, allocations: 11.92 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.1329, allocations: 37.64 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.133, allocations: 88.09 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.133, allocations: 0 / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.816e-06/0.133, allocations: 0 / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.133, allocations: 7.938 kB / 474.1 MB, free: 11.07 MB / 350.1 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.0005833/0.1336, allocations: 395 kB / 474.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.1337, allocations: 8.031 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.1337, allocations: 11.91 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.1339, allocations: 202.7 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1339, allocations: 15.98 kB / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.134, allocations: 0 / 474.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1341, allocations: 57.62 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1341, allocations: 4 kB / 474.8 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1341, allocations: 4 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1341, allocations: 0 / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.378e-05/0.1342, allocations: 15.98 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000298/0.1345, allocations: 284.9 kB / 475.1 MB, free: 9.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1347, allocations: 58.62 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.1347, allocations: 4 kB / 475.2 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.1349, allocations: 63.5 kB / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1349, allocations: 0 / 475.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004867/0.1354, allocations: 169.2 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.1354, allocations: 51.41 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1356, allocations: 186.2 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1356, allocations: 33.7 kB / 475.6 MB, free: 9.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.1356, allocations: 104.1 kB / 475.8 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.1357, allocations: 35.56 kB / 475.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1357, allocations: 4 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.1358, allocations: 322.8 kB / 476.1 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.017e-05/0.1358, allocations: 16 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.574e-05/0.1359, allocations: 33.7 kB / 476.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.136, allocations: 31.95 kB / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.136, allocations: 0 / 476.2 MB, free: 8.785 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001676/0.1362, allocations: 101.6 kB / 476.3 MB, free: 8.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1362, allocations: 4 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.1362, allocations: 7.938 kB / 476.3 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.1362, allocations: 3.984 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.99e-05/0.1363, allocations: 15.98 kB / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.1363, allocations: 0 / 476.3 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.1364, allocations: 12.03 kB / 476.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1364, allocations: 4 kB / 476.3 MB, free: 8.633 MB / 350.1 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.664e-05/0.1365, allocations: 130.2 kB / 476.5 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.6e-05/0.1365, allocations: 7.906 kB / 476.5 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.451e-05/0.1365, allocations: 20.72 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1365, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.1366, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1366, allocations: 0 / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003837/0.137, allocations: 399.3 kB / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.137, allocations: 384 / 476.9 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.068e-05/0.137, allocations: 8 kB / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.137, allocations: 0 / 476.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.137, allocations: 8 kB / 476.9 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.137, allocations: 4 kB / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.137, allocations: 0 / 476.9 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1372, allocations: 221.8 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.428e-05/0.1373, allocations: 85 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1373, allocations: 4 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.439e-05/0.1374, allocations: 8 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.283e-05/0.1374, allocations: 3.984 kB / 477.2 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.1375, allocations: 4 kB / 477.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001176/0.1376, allocations: 143.2 kB / 477.4 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 7.938 kB / 477.4 MB, free: 7.484 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1378, allocations: 31.95 kB / 477.4 MB, free: 7.453 MB / 350.1 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 (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008767/0.1387, allocations: 463.2 kB / 477.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001429/0.1389, allocations: 67.89 kB / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1389, allocations: 0 / 477.9 MB, free: 7.109 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.737e-05/0.139, allocations: 27.98 kB / 477.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002235/0.1392, allocations: 19.98 kB / 478 MB, free: 7.062 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.1395, allocations: 238.4 kB / 478.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.1398, allocations: 0.7082 MB / 478.9 MB, free: 6.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.1398, allocations: 12.88 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1399, allocations: 19.44 kB / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1399, allocations: 0 / 478.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of Templates: time 0.003616/0.1435, allocations: 1.595 MB / 480.5 MB, free: 4.453 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches