Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,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.Test55") translateModel(ModelicaTest.Tables.CombiTimeTable.Test55,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.Test55") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007772/0.0007773, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.0007952/0.0007953, allocations: 173.8 kB / 18.25 MB, free: 5.504 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.397/1.397, allocations: 223.3 MB / 242.3 MB, free: 216 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.2098/0.2098, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003092/0.0003092, allocations: 13.09 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1242, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.001977/0.1262, allocations: 1.421 MB / 473.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1282, allocations: 1.425 MB / 475.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.442e-05/0.1283, allocations: 3.938 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002868/0.1286, allocations: 31.89 kB / 475.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.1288, allocations: 51.83 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1291, allocations: 99.02 kB / 475.3 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1293, allocations: 91.7 kB / 475.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1294, allocations: 8.219 kB / 475.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.585e-05/0.1295, allocations: 39.78 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1296, allocations: 31.86 kB / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.1297, allocations: 0 / 475.5 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001303/0.1298, allocations: 63.89 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.1299, allocations: 23.92 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.338e-05/0.1299, allocations: 49.5 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002109/0.1302, allocations: 119.9 kB / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1302, allocations: 0 / 475.7 MB, free: 9.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.1302, allocations: 7.875 kB / 475.7 MB, free: 9.859 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.1302, allocations: 0 / 475.7 MB, free: 9.859 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.0005225/0.1307, allocations: 383.3 kB / 476.1 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.1308, allocations: 8.031 kB / 476.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1308, allocations: 12.75 kB / 476.1 MB, free: 9.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.131, allocations: 214.4 kB / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.1311, allocations: 384 / 476.3 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.1311, allocations: 8.125 kB / 476.3 MB, free: 9.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1313, allocations: 63.39 kB / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.056e-06/0.1313, allocations: 0 / 476.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.1313, allocations: 4 kB / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.1313, allocations: 0 / 476.4 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.003e-05/0.1314, allocations: 19.98 kB / 476.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.1317, allocations: 288.7 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1319, allocations: 58.67 kB / 476.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.047e-05/0.132, allocations: 16.86 kB / 476.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.908e-05/0.132, allocations: 0 / 476.8 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1322, allocations: 83.25 kB / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1322, allocations: 0 / 476.9 MB, free: 8.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004963/0.1327, allocations: 177.2 kB / 477 MB, free: 8.375 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/0.1327, allocations: 77.11 kB / 477.1 MB, free: 8.281 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.1329, allocations: 152.2 kB / 477.3 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.687e-05/0.1329, allocations: 25.7 kB / 477.3 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.133, allocations: 100.1 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.133, allocations: 19.72 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.133, allocations: 17.72 kB / 477.4 MB, free: 7.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.788e-05/0.1331, allocations: 322.8 kB / 477.7 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.401e-05/0.1332, allocations: 23.98 kB / 477.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.79e-05/0.1333, allocations: 46.55 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.1334, allocations: 65.67 kB / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1334, allocations: 0 / 477.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001733/0.1336, allocations: 93.58 kB / 478 MB, free: 7.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.1336, allocations: 10.66 kB / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1336, allocations: 384 / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1336, allocations: 0 / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.781e-05/0.1337, allocations: 19.92 kB / 478 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.1337, allocations: 4.188 kB / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.233e-05/0.1338, allocations: 11.88 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.1338, allocations: 11.94 kB / 478 MB, free: 7.324 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 9.885e-05/0.1339, allocations: 125.9 kB / 478.1 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.134, allocations: 7.906 kB / 478.1 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.134, allocations: 12.72 kB / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.134, allocations: 0 / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.134, allocations: 0 / 478.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.134, allocations: 3.938 kB / 478.2 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004243/0.1345, allocations: 403.4 kB / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1345, allocations: 0 / 478.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1345, allocations: 8 kB / 478.6 MB, free: 6.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1345, allocations: 4 kB / 478.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-06/0.1345, allocations: 3.938 kB / 478.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.1345, allocations: 3.938 kB / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1345, allocations: 0 / 478.6 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.1348, allocations: 204.3 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1348, allocations: 88.95 kB / 478.9 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1349, allocations: 11.94 kB / 478.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.177e-05/0.1349, allocations: 3.984 kB / 478.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.135, allocations: 4 kB / 478.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.135, allocations: 4 kB / 478.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.886e-05/0.1351, allocations: 115.2 kB / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1351, allocations: 0 / 479 MB, free: 6.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002732/0.1354, allocations: 31.98 kB / 479 MB, free: 6.199 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.001123/0.1365, allocations: 0.5003 MB / 479.5 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001751/0.1367, allocations: 59.95 kB / 479.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1367, allocations: 3.938 kB / 479.6 MB, free: 5.828 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.032e-05/0.1368, allocations: 27.94 kB / 479.6 MB, free: 5.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.1371, allocations: 28.28 kB / 479.6 MB, free: 5.773 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/0.1375, allocations: 206.1 kB / 479.8 MB, free: 5.539 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002409/0.1378, allocations: 0.7043 MB / 480.5 MB, free: 4.809 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.205e-05/0.1379, allocations: 20.86 kB / 480.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.1379, allocations: 19.38 kB / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1379, allocations: 0 / 480.6 MB, free: 4.766 MB / 350.1 MB Notification: Performance of Templates: time 0.00441/0.1423, allocations: 1.882 MB / 482.5 MB, free: 2.898 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches