Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.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 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 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.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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001519/0.001519, allocations: 106.6 kB / 17.04 MB, free: 6.078 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.001691/0.001691, allocations: 196 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 73.17 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003403/0.1322, allocations: 1.845 MB / 443.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1336, allocations: 0.8935 MB / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.1337, allocations: 0 / 444.7 MB, free: 3.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000588/0.1343, allocations: 259.4 kB / 445 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.1347, allocations: 179.4 kB / 445.1 MB, free: 2.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003886/0.1351, allocations: 151.1 kB / 445.3 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.1355, allocations: 251.3 kB / 445.5 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.1356, allocations: 17.56 kB / 445.6 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1358, allocations: 119.6 kB / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.136, allocations: 183.5 kB / 445.9 MB, free: 2.262 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.136, allocations: 4 kB / 445.9 MB, free: 2.258 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1361, allocations: 47.92 kB / 445.9 MB, free: 2.211 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.875e-05/0.1362, allocations: 59.75 kB / 446 MB, free: 2.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.246e-05/0.1363, allocations: 83.31 kB / 446 MB, free: 2.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002886/0.1366, allocations: 231.1 kB / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1366, allocations: 0 / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1367, allocations: 0 / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.1367, allocations: 4 kB / 446.3 MB, free: 1.84 MB / 318.1 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.0007166/0.1374, allocations: 0.5602 MB / 446.8 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.1374, allocations: 11.89 kB / 446.8 MB, free: 1.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.387e-05/0.1375, allocations: 32.55 kB / 446.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003699/0.1379, allocations: 288 kB / 447.2 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.1379, allocations: 4.375 kB / 447.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.138, allocations: 8.125 kB / 447.2 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.1382, allocations: 99.34 kB / 447.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1382, allocations: 4 kB / 447.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.1382, allocations: 0 / 447.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/0.1383, allocations: 4 kB / 447.3 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1384, allocations: 43.91 kB / 447.3 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.1389, allocations: 452.8 kB / 447.8 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002512/0.1391, allocations: 117.3 kB / 447.9 MB, free: 68 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.791e-05/0.1392, allocations: 41.7 kB / 447.9 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.046e-05/0.1393, allocations: 0 / 447.9 MB, free: 20 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002614/0.1395, allocations: 124.9 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1395, allocations: 0 / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009303/0.1405, allocations: 372.3 kB / 448.4 MB, free: 15.51 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.1406, allocations: 88.98 kB / 448.5 MB, free: 15.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004604/0.141, allocations: 481.6 kB / 449 MB, free: 14.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1411, allocations: 37.7 kB / 449 MB, free: 14.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.1412, allocations: 160.3 kB / 449.1 MB, free: 14.72 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.977e-05/0.1412, allocations: 47.39 kB / 449.2 MB, free: 14.68 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/0.1413, allocations: 37.7 kB / 449.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.1414, allocations: 338.8 kB / 449.6 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1415, allocations: 47.92 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.1417, allocations: 72.8 kB / 449.7 MB, free: 14.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.1419, allocations: 123.5 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1419, allocations: 4 kB / 449.8 MB, free: 14.03 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003127/0.1422, allocations: 185.1 kB / 450 MB, free: 13.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.1422, allocations: 8.062 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.1423, allocations: 4 kB / 450 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.1423, allocations: 4 kB / 450 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/0.1424, allocations: 35.92 kB / 450 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1424, allocations: 7.938 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.432e-05/0.1425, allocations: 4 kB / 450 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.1425, allocations: 8 kB / 450.1 MB, free: 13.77 MB / 334.1 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 0.0001594/0.1427, allocations: 169.7 kB / 450.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.378e-05/0.1428, allocations: 35.62 kB / 450.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.998e-05/0.1428, allocations: 38.81 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1429, allocations: 4 kB / 450.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1429, allocations: 3.938 kB / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.1429, allocations: 0 / 450.3 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007484/0.1436, allocations: 0.6242 MB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.1436, allocations: 3.984 kB / 450.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.576e-05/0.1437, allocations: 24.06 kB / 451 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.1437, allocations: 4 kB / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.1437, allocations: 3.984 kB / 451 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.1438, allocations: 7.984 kB / 451 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1438, allocations: 0 / 451 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005237/0.1443, allocations: 376 kB / 451.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.1444, allocations: 100.7 kB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.251e-05/0.1445, allocations: 8 kB / 451.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.1446, allocations: 11.92 kB / 451.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.446e-05/0.1447, allocations: 15.98 kB / 451.5 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.622e-05/0.1447, allocations: 4 kB / 451.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004041/0.1451, allocations: 363.1 kB / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1451, allocations: 4 kB / 451.8 MB, free: 11.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003575/0.1455, allocations: 36 kB / 451.9 MB, free: 11.84 MB / 334.1 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 (16): * Single equations (assignments): 12 * 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.001346/0.1469, allocations: 465.5 kB / 452.3 MB, free: 11.47 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.1472, allocations: 123.9 kB / 452.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1472, allocations: 0 / 452.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001315/0.1474, allocations: 59.91 kB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005736/0.1479, allocations: 71.23 kB / 452.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009935/0.1489, allocations: 0.5265 MB / 453.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.1494, allocations: 0.771 MB / 453.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.477e-05/0.1495, allocations: 34.55 kB / 453.9 MB, free: 9.832 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.1496, allocations: 23.44 kB / 453.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1496, allocations: 0 / 453.9 MB, free: 9.809 MB / 334.1 MB Notification: Performance of Templates: time 0.007363/0.157, allocations: 2.736 MB / 456.7 MB, free: 7.09 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test74.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches