Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009715/0.0009719, allocations: 94.88 kB / 17.35 MB, free: 6.375 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.001168/0.001168, allocations: 180.2 kB / 18.26 MB, free: 5.52 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.459/1.459, allocations: 223.3 MB / 242.3 MB, free: 232 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.2378/0.2378, allocations: 44.25 MB / 337.7 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 10.66 kB / 410.3 MB, free: 27.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1279, allocations: 61.93 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002167/0.1301, allocations: 1.417 MB / 473.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1316, allocations: 0.8421 MB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.1317, allocations: 3.938 kB / 474.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002717/0.132, allocations: 31.89 kB / 474.6 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.1322, allocations: 47.83 kB / 474.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.1324, allocations: 95.75 kB / 474.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001633/0.1326, allocations: 95.7 kB / 474.8 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.62e-05/0.1327, allocations: 8.234 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.1328, allocations: 35.8 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.076e-05/0.1329, allocations: 35.83 kB / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.336e-05/0.1329, allocations: 0 / 474.9 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.041e-05/0.133, allocations: 35.98 kB / 474.9 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.509e-05/0.1331, allocations: 27.84 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.117e-05/0.1331, allocations: 57.45 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001718/0.1333, allocations: 115.9 kB / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1333, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1333, allocations: 0 / 475.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.1334, allocations: 3.938 kB / 475.1 MB, free: 10.51 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.0005087/0.1339, allocations: 391.2 kB / 475.5 MB, free: 10.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.1339, allocations: 8.031 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.81e-05/0.134, allocations: 8.844 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.1342, allocations: 208 kB / 475.7 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.594e-05/0.1342, allocations: 4.312 kB / 475.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1342, allocations: 16.12 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.1344, allocations: 49.67 kB / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.1344, allocations: 0 / 475.8 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.1344, allocations: 4 kB / 475.8 MB, free: 9.746 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.1344, allocations: 4 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.588e-05/0.1345, allocations: 15.98 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000332/0.1348, allocations: 284.9 kB / 476.1 MB, free: 9.398 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.135, allocations: 62.61 kB / 476.1 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.426e-05/0.1351, allocations: 20.86 kB / 476.2 MB, free: 9.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1351, allocations: 4 kB / 476.2 MB, free: 9.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001857/0.1353, allocations: 67.39 kB / 476.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.1353, allocations: 3.938 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004736/0.1358, allocations: 177.2 kB / 476.4 MB, free: 9.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1358, allocations: 55.41 kB / 476.5 MB, free: 8.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001606/0.136, allocations: 186.2 kB / 476.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.406e-05/0.136, allocations: 25.7 kB / 476.7 MB, free: 8.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.334e-05/0.1361, allocations: 104.1 kB / 476.8 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.575e-05/0.1361, allocations: 19.66 kB / 476.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.1361, allocations: 21.7 kB / 476.8 MB, free: 8.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1362, allocations: 330.8 kB / 477.1 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.562e-05/0.1363, allocations: 23.94 kB / 477.2 MB, free: 8.242 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.944e-05/0.1364, allocations: 33.7 kB / 477.2 MB, free: 8.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.1365, allocations: 53.7 kB / 477.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1365, allocations: 4 kB / 477.2 MB, free: 8.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001899/0.1367, allocations: 109.4 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1367, allocations: 8.031 kB / 477.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1367, allocations: 0 / 477.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.1367, allocations: 7.984 kB / 477.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.128e-05/0.1368, allocations: 12 kB / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.1368, allocations: 0 / 477.4 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.761e-05/0.1369, allocations: 8.125 kB / 477.4 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1369, allocations: 8 kB / 477.4 MB, free: 7.984 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.928e-05/0.137, allocations: 132.4 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.716e-05/0.137, allocations: 7.906 kB / 477.5 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/0.1371, allocations: 20.7 kB / 477.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.1371, allocations: 4 kB / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1371, allocations: 0 / 477.6 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.1371, allocations: 3.938 kB / 477.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.1376, allocations: 387.3 kB / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1376, allocations: 4 kB / 477.9 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.1376, allocations: 4 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1376, allocations: 4 kB / 477.9 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.1376, allocations: 11.95 kB / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1376, allocations: 0 / 478 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1376, allocations: 4 kB / 478 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.1379, allocations: 204.1 kB / 478.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.69e-05/0.1379, allocations: 81.02 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.138, allocations: 15.88 kB / 478.3 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001014/0.1381, allocations: 11.98 kB / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.1381, allocations: 0 / 478.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.1381, allocations: 4 kB / 478.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1383, allocations: 151.2 kB / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1383, allocations: 0 / 478.4 MB, free: 6.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1385, allocations: 24 kB / 478.4 MB, free: 6.824 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.001021/0.1395, allocations: 470.2 kB / 478.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1397, allocations: 55.92 kB / 479 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1397, allocations: 0 / 479 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.419e-05/0.1398, allocations: 31.92 kB / 479 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1402, allocations: 35.02 kB / 479 MB, free: 6.426 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.1406, allocations: 246.3 kB / 479.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.141, allocations: 0.7121 MB / 480 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.063e-05/0.141, allocations: 13.2 kB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.367e-05/0.1411, allocations: 15.42 kB / 480 MB, free: 5.383 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1411, allocations: 4 kB / 480 MB, free: 5.379 MB / 350.1 MB Notification: Performance of Templates: time 0.004352/0.1454, allocations: 1.623 MB / 481.6 MB, free: 3.77 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches