Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,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.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.16 kB / 18 MB, free: 5.602 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.001514/0.001514, allocations: 176.8 kB / 18.91 MB, free: 4.738 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.474/1.474, allocations: 223.3 MB / 242.9 MB, free: 192 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.1991/0.1991, allocations: 44.25 MB / 338.3 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000378/0.0003779, allocations: 12.88 kB / 411 MB, free: 27.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1212, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002524/0.1238, allocations: 1.417 MB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001579/0.1254, allocations: 0.8383 MB / 475.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.1255, allocations: 3.938 kB / 475.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003743/0.1259, allocations: 79.83 kB / 475.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002705/0.1262, allocations: 67.78 kB / 475.3 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000394/0.1266, allocations: 99.02 kB / 475.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002173/0.1268, allocations: 103.7 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1269, allocations: 8.234 kB / 475.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.1271, allocations: 47.77 kB / 475.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001377/0.1272, allocations: 55.81 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1272, allocations: 0 / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001502/0.1274, allocations: 35.98 kB / 475.7 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.1275, allocations: 27.8 kB / 475.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001033/0.1276, allocations: 65.44 kB / 475.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002133/0.1278, allocations: 88.09 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1278, allocations: 3.938 kB / 475.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1279, allocations: 0 / 475.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.78e-06/0.1279, allocations: 0 / 475.9 MB, free: 10.39 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.0006715/0.1285, allocations: 403.1 kB / 476.2 MB, free: 9.945 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.1286, allocations: 16.02 kB / 476.3 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.1287, allocations: 8.844 kB / 476.3 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002902/0.129, allocations: 212 kB / 476.5 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.129, allocations: 8.312 kB / 476.5 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.306e-05/0.129, allocations: 16.11 kB / 476.5 MB, free: 9.652 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1292, allocations: 53.67 kB / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1292, allocations: 0 / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1292, allocations: 0 / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.1293, allocations: 0 / 476.6 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.994e-05/0.1294, allocations: 19.98 kB / 476.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004425/0.1298, allocations: 288.9 kB / 476.9 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001812/0.13, allocations: 54.62 kB / 476.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.1301, allocations: 28.83 kB / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.1301, allocations: 0 / 476.9 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.1303, allocations: 63.39 kB / 477 MB, free: 9.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.1303, allocations: 0 / 477 MB, free: 9.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006264/0.131, allocations: 189.1 kB / 477.2 MB, free: 8.883 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.131, allocations: 55.34 kB / 477.2 MB, free: 8.816 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.1312, allocations: 215.2 kB / 477.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1313, allocations: 29.7 kB / 477.5 MB, free: 8.559 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.1313, allocations: 104 kB / 477.6 MB, free: 8.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.1314, allocations: 27.64 kB / 477.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.531e-05/0.1314, allocations: 17.72 kB / 477.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1315, allocations: 322.8 kB / 477.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.451e-05/0.1316, allocations: 31.92 kB / 478 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.574e-05/0.1317, allocations: 37.7 kB / 478 MB, free: 8.004 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001083/0.1318, allocations: 53.7 kB / 478.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1318, allocations: 0 / 478.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001928/0.132, allocations: 109.6 kB / 478.2 MB, free: 7.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.132, allocations: 4.188 kB / 478.2 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.132, allocations: 4.031 kB / 478.2 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.132, allocations: 3.938 kB / 478.2 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.266e-05/0.1321, allocations: 19.98 kB / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.1322, allocations: 0 / 478.2 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.595e-05/0.1322, allocations: 7.938 kB / 478.2 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1322, allocations: 0 / 478.2 MB, free: 7.793 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.0001094/0.1324, allocations: 133.8 kB / 478.3 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.1324, allocations: 11.81 kB / 478.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.632e-05/0.1324, allocations: 25.39 kB / 478.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1324, allocations: 0 / 478.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1325, allocations: 0 / 478.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1325, allocations: 3.938 kB / 478.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004311/0.1329, allocations: 387.7 kB / 478.8 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1329, allocations: 4 kB / 478.8 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.613e-05/0.133, allocations: 12 kB / 478.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.133, allocations: 3.984 kB / 478.8 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.133, allocations: 11.97 kB / 478.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.133, allocations: 0 / 478.8 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.133, allocations: 4 kB / 478.8 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000229/0.1332, allocations: 204.1 kB / 479 MB, free: 6.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1333, allocations: 89.02 kB / 479.1 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1333, allocations: 7.922 kB / 479.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.826e-05/0.1334, allocations: 8 kB / 479.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.1335, allocations: 7.938 kB / 479.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.857e-05/0.1335, allocations: 7.984 kB / 479.1 MB, free: 6.785 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1336, allocations: 159.2 kB / 479.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1336, allocations: 0 / 479.3 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002634/0.1339, allocations: 20 kB / 479.3 MB, free: 6.609 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.001071/0.135, allocations: 469.6 kB / 479.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1351, allocations: 59.91 kB / 479.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1352, allocations: 0 / 479.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.237e-05/0.1352, allocations: 31.92 kB / 479.8 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.1356, allocations: 26.77 kB / 479.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000488/0.1361, allocations: 303.7 kB / 480.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1364, allocations: 0.7043 MB / 480.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.128e-05/0.1364, allocations: 23.42 kB / 480.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1364, allocations: 0 / 480.9 MB, free: 5.129 MB / 350.1 MB Notification: Performance of Templates: time 0.003966/0.1404, allocations: 1.93 MB / 482.8 MB, free: 3.203 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches