Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008011/0.000801, allocations: 94.83 kB / 18.01 MB, free: 5.734 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.0009158/0.0009158, allocations: 179.5 kB / 18.91 MB, free: 4.871 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.396/1.396, allocations: 223.3 MB / 243 MB, free: 96 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.221/0.221, allocations: 44.24 MB / 338.3 MB, free: 2.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003453/0.0003452, allocations: 12 kB / 411 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1236, allocations: 61.92 MB / 472.9 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002297/0.126, allocations: 1.41 MB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1276, allocations: 0.8577 MB / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001055/0.1277, allocations: 0 / 475.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003245/0.1281, allocations: 23.91 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002242/0.1283, allocations: 47.83 kB / 475.3 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003611/0.1287, allocations: 91.77 kB / 475.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.1289, allocations: 91.7 kB / 475.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.129, allocations: 12.23 kB / 475.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.84e-05/0.1291, allocations: 39.78 kB / 475.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.1292, allocations: 23.84 kB / 475.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.1292, allocations: 4 kB / 475.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.1293, allocations: 47.91 kB / 475.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.1294, allocations: 11.94 kB / 475.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.354e-05/0.1295, allocations: 53.5 kB / 475.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001742/0.1297, allocations: 84.09 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1297, allocations: 0 / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1297, allocations: 0 / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1297, allocations: 4 kB / 475.7 MB, free: 10.55 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.0005715/0.1303, allocations: 387.2 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1303, allocations: 8.031 kB / 476.1 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.1304, allocations: 12.78 kB / 476.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.1306, allocations: 208.6 kB / 476.3 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.1307, allocations: 3.938 kB / 476.3 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.1307, allocations: 8 kB / 476.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00015/0.1308, allocations: 49.67 kB / 476.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1309, allocations: 4 kB / 476.4 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.1309, allocations: 4 kB / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1309, allocations: 0 / 476.4 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.131, allocations: 19.98 kB / 476.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003813/0.1314, allocations: 280.9 kB / 476.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1315, allocations: 62.61 kB / 476.7 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1316, allocations: 16.86 kB / 476.8 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.1316, allocations: 3.984 kB / 476.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001901/0.1318, allocations: 67.39 kB / 476.8 MB, free: 9.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.824e-06/0.1319, allocations: 4 kB / 476.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005538/0.1324, allocations: 173.5 kB / 477 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.1325, allocations: 63.34 kB / 477.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.1326, allocations: 155.7 kB / 477.2 MB, free: 8.855 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.032e-05/0.1326, allocations: 25.7 kB / 477.2 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.368e-05/0.1327, allocations: 104.1 kB / 477.3 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.158e-05/0.1327, allocations: 23.66 kB / 477.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.1328, allocations: 21.7 kB / 477.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1329, allocations: 326.8 kB / 477.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.133, allocations: 20 kB / 477.7 MB, free: 8.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.8e-05/0.1331, allocations: 37.7 kB / 477.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1332, allocations: 53.7 kB / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1332, allocations: 0 / 477.8 MB, free: 8.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.1334, allocations: 105.5 kB / 477.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1334, allocations: 4 kB / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1334, allocations: 0 / 477.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1334, allocations: 7.922 kB / 477.9 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.621e-05/0.1335, allocations: 28.08 kB / 478 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.1336, allocations: 3.938 kB / 478 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.91e-05/0.1336, allocations: 4 kB / 478 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.1336, allocations: 0 / 478 MB, free: 8.062 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 ($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.0001024/0.1337, allocations: 128.8 kB / 478.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.1338, allocations: 8.094 kB / 478.1 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.727e-05/0.1338, allocations: 16.66 kB / 478.1 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.1338, allocations: 7.938 kB / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.1338, allocations: 0 / 478.1 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.1339, allocations: 7.984 kB / 478.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004369/0.1343, allocations: 391.2 kB / 478.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.1343, allocations: 0 / 478.5 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.1343, allocations: 12 kB / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.1344, allocations: 0 / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.1344, allocations: 4 kB / 478.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.1344, allocations: 0 / 478.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1344, allocations: 0 / 478.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.1346, allocations: 204.2 kB / 478.7 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.612e-05/0.1347, allocations: 93 kB / 478.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.344e-05/0.1347, allocations: 0 / 478.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.295e-05/0.1348, allocations: 4 kB / 478.8 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1349, allocations: 11.98 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.1349, allocations: 0 / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.274e-05/0.135, allocations: 129.3 kB / 479 MB, free: 6.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.135, allocations: 0 / 479 MB, free: 6.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1352, allocations: 24 kB / 479 MB, free: 6.938 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 (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.001085/0.1363, allocations: 473.8 kB / 479.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1365, allocations: 59.86 kB / 479.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1365, allocations: 0 / 479.5 MB, free: 6.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.793e-05/0.1366, allocations: 31.92 kB / 479.5 MB, free: 6.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.137, allocations: 23.98 kB / 479.6 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004472/0.1374, allocations: 255.7 kB / 479.8 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1377, allocations: 0.7004 MB / 480.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.1377, allocations: 15.44 kB / 480.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1377, allocations: 4 kB / 480.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of Templates: time 0.003779/0.1415, allocations: 1.847 MB / 482.4 MB, free: 3.672 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches