Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001398/0.001398, allocations: 183 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 222.5 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009923/0.0009922, allocations: 96.39 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3793/0.3793, allocations: 43.5 MB / 360.7 MB, free: 51.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 51.92 kB / 429.2 MB, free: 6.379 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1203, allocations: 57.76 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.003693/0.124, allocations: 1.771 MB / 488.8 MB, free: 10.75 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001777/0.1258, allocations: 0.7768 MB / 489.6 MB, free: 9.965 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.126, allocations: 4 kB / 489.6 MB, free: 9.961 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1266, allocations: 39.83 kB / 489.6 MB, free: 9.922 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003334/0.127, allocations: 51.77 kB / 489.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.1274, allocations: 71.84 kB / 489.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002337/0.1276, allocations: 95.69 kB / 489.8 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.1278, allocations: 12.22 kB / 489.8 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1279, allocations: 35.8 kB / 489.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.795e-05/0.128, allocations: 35.83 kB / 489.9 MB, free: 9.625 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.128, allocations: 4 kB / 489.9 MB, free: 9.621 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1282, allocations: 39.94 kB / 489.9 MB, free: 9.582 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.1283, allocations: 23.91 kB / 490 MB, free: 9.559 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.1283, allocations: 39.72 kB / 490 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.1286, allocations: 111.9 kB / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1286, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1286, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.1286, allocations: 0 / 490.1 MB, free: 9.41 MB / 378.7 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.0005789/0.1292, allocations: 410.6 kB / 490.5 MB, free: 8.965 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1292, allocations: 12.03 kB / 490.5 MB, free: 8.953 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.197e-05/0.1293, allocations: 16.84 kB / 490.5 MB, free: 8.938 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002185/0.1295, allocations: 204 kB / 490.7 MB, free: 8.699 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.1295, allocations: 8.359 kB / 490.7 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.687e-05/0.1296, allocations: 4.125 kB / 490.8 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.1297, allocations: 53.67 kB / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1297, allocations: 0 / 490.8 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.1298, allocations: 3.938 kB / 490.8 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.1298, allocations: 4 kB / 490.8 MB, free: 8.621 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.619e-05/0.1298, allocations: 23.98 kB / 490.8 MB, free: 8.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004161/0.1303, allocations: 292.8 kB / 491.1 MB, free: 8.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.1305, allocations: 46.69 kB / 491.2 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.96e-05/0.1306, allocations: 24.84 kB / 491.2 MB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.1306, allocations: 4 kB / 491.2 MB, free: 8.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/0.1308, allocations: 71.23 kB / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.502e-06/0.1308, allocations: 0 / 491.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005987/0.1314, allocations: 165.4 kB / 491.4 MB, free: 7.926 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.1315, allocations: 59.34 kB / 491.5 MB, free: 7.855 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.1317, allocations: 186.1 kB / 491.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.1317, allocations: 25.7 kB / 491.7 MB, free: 7.629 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.31e-05/0.1318, allocations: 108.1 kB / 491.8 MB, free: 7.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.082e-05/0.1318, allocations: 23.7 kB / 491.8 MB, free: 7.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.604e-05/0.1318, allocations: 17.72 kB / 491.8 MB, free: 7.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.132, allocations: 330.8 kB / 492.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.369e-05/0.132, allocations: 20.36 kB / 492.2 MB, free: 7.121 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.271e-05/0.1321, allocations: 37.64 kB / 492.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.1322, allocations: 69.64 kB / 492.3 MB, free: 7.004 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.1322, allocations: 4 kB / 492.3 MB, free: 7 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001758/0.1324, allocations: 93.58 kB / 492.4 MB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1324, allocations: 8 kB / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1325, allocations: 160 / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1325, allocations: 0 / 492.4 MB, free: 6.895 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.1326, allocations: 23.92 kB / 492.4 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.1326, allocations: 3.984 kB / 492.4 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.714e-05/0.1326, allocations: 11.97 kB / 492.4 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.799e-06/0.1327, allocations: 4 kB / 492.4 MB, free: 6.852 MB / 378.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 (10): * Single equations (assignments): 10 * 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 0.0001039/0.1328, allocations: 125.8 kB / 492.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.144e-05/0.1328, allocations: 7.906 kB / 492.6 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.1328, allocations: 12.72 kB / 492.6 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1329, allocations: 7.984 kB / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1329, allocations: 0 / 492.6 MB, free: 6.695 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1329, allocations: 3.938 kB / 492.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004519/0.1333, allocations: 395.2 kB / 493 MB, free: 6.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1333, allocations: 3.938 kB / 493 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.674e-05/0.1334, allocations: 12 kB / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.1334, allocations: 0 / 493 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.1334, allocations: 3.938 kB / 493 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.1334, allocations: 4 kB / 493 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.1334, allocations: 7.922 kB / 493 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.134, allocations: 0.7715 MB / 493.8 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.179e-05/0.134, allocations: 93 kB / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1341, allocations: 0 / 493.9 MB, free: 5.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.445e-05/0.1341, allocations: 4 kB / 493.9 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.761e-05/0.1342, allocations: 11.97 kB / 493.9 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1342, allocations: 4 kB / 493.9 MB, free: 5.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.1343, allocations: 148.1 kB / 494 MB, free: 5.109 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1343, allocations: 0 / 494 MB, free: 5.109 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003476/0.1347, allocations: 27.89 kB / 494.1 MB, free: 5.082 MB / 378.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 (8): * Single equations (assignments): 6 * 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.0009799/0.1357, allocations: 484.1 kB / 494.5 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1358, allocations: 63.84 kB / 494.6 MB, free: 4.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.1359, allocations: 4 kB / 494.6 MB, free: 4.586 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.1359, allocations: 23.94 kB / 494.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003541/0.1363, allocations: 31.91 kB / 494.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.1369, allocations: 372.3 kB / 495 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003584/0.1373, allocations: 0.7082 MB / 495.7 MB, free: 3.391 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.243e-05/0.1373, allocations: 16.88 kB / 495.7 MB, free: 3.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.972e-05/0.1374, allocations: 19.42 kB / 495.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.1374, allocations: 0 / 495.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Templates: time 0.00427/0.1417, allocations: 1.661 MB / 497.4 MB, free: 1.699 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches