Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 95.58 kB / 16.99 MB, free: 5.941 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.00143/0.00143, allocations: 182 kB / 17.87 MB, free: 5.609 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.2 MB / 241.8 MB, free: 380 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.2064/0.2064, allocations: 44.23 MB / 337.1 MB, free: 2.91 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000339/0.000339, allocations: 16 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002417/0.1445, allocations: 1.398 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.1459, allocations: 0.8035 MB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.1461, allocations: 8 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004001/0.1465, allocations: 71.81 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.1468, allocations: 67.78 kB / 473.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004383/0.1472, allocations: 94.7 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002346/0.1475, allocations: 71.84 kB / 474 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1476, allocations: 15.98 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.1478, allocations: 43.83 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001115/0.1479, allocations: 43.83 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.1479, allocations: 4 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.148, allocations: 35.98 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1481, allocations: 19.92 kB / 474.1 MB, free: 11.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.843e-05/0.1482, allocations: 37.64 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.1484, allocations: 100 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.1484, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.1484, allocations: 0 / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.682e-06/0.1484, allocations: 4 kB / 474.3 MB, free: 10.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006398/0.1491, allocations: 414.8 kB / 474.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.1491, allocations: 8.562 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.1492, allocations: 11.91 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.1495, allocations: 214.7 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.1495, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.1496, allocations: 4 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.1497, allocations: 65.62 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1498, allocations: 4 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.1498, allocations: 7.922 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1498, allocations: 0 / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.862e-05/0.1499, allocations: 19.98 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1504, allocations: 308.7 kB / 475.3 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1507, allocations: 58.56 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.1507, allocations: 7.984 kB / 475.4 MB, free: 9.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.151, allocations: 71.45 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 3.978e-06/0.151, allocations: 3.984 kB / 475.4 MB, free: 9.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0009652/0.152, allocations: 229.8 kB / 475.7 MB, free: 9.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.085e-05/0.1521, allocations: 55.39 kB / 475.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002885/0.1523, allocations: 215.2 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1524, allocations: 33.7 kB / 476 MB, free: 9.023 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.1525, allocations: 108 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.981e-05/0.1526, allocations: 31.55 kB / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.1526, allocations: 0 / 476.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.1528, allocations: 330.8 kB / 476.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.497e-05/0.1528, allocations: 27.98 kB / 476.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.4e-05/0.1529, allocations: 41.7 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.875e-05/0.153, allocations: 43.94 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.153, allocations: 0 / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002719/0.1533, allocations: 125.4 kB / 476.7 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.807e-05/0.1534, allocations: 4 kB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1534, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.541e-05/0.1534, allocations: 0 / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.1535, allocations: 31.92 kB / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.1535, allocations: 0 / 476.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.878e-05/0.1536, allocations: 8.031 kB / 476.7 MB, free: 8.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.1536, allocations: 0 / 476.7 MB, free: 8.262 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001616/0.1538, allocations: 133.8 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.1538, allocations: 11.91 kB / 476.8 MB, free: 8.109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.1539, allocations: 25.47 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.1539, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.1539, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1539, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007364/0.1547, allocations: 463.8 kB / 477.3 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.1547, allocations: 3.984 kB / 477.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.94e-05/0.1548, allocations: 12 kB / 477.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.1548, allocations: 4 kB / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.1548, allocations: 0 / 477.3 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.1548, allocations: 11.98 kB / 477.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.1548, allocations: 3.938 kB / 477.4 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.1552, allocations: 256.7 kB / 477.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.755e-05/0.1553, allocations: 89.02 kB / 477.7 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.509e-05/0.1553, allocations: 11.94 kB / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.832e-05/0.1554, allocations: 0 / 477.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.78e-05/0.1555, allocations: 19.98 kB / 477.7 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.1555, allocations: 4 kB / 477.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.1557, allocations: 159.2 kB / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1557, allocations: 0 / 477.9 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.156, allocations: 31.98 kB / 477.9 MB, free: 6.922 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001234/0.1572, allocations: 0.5082 MB / 478.4 MB, free: 6.617 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.1575, allocations: 79.91 kB / 478.5 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.1575, allocations: 4 kB / 478.5 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.843e-05/0.1576, allocations: 35.92 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002888/0.1579, allocations: 27.98 kB / 478.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.1585, allocations: 283.6 kB / 478.8 MB, free: 6.164 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1589, allocations: 0.716 MB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.463e-05/0.159, allocations: 28.62 kB / 479.6 MB, free: 5.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.1591, allocations: 23.44 kB / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1591, allocations: 0 / 479.6 MB, free: 5.371 MB / 350.1 MB Notification: Performance of Templates: time 0.005937/0.165, allocations: 1.824 MB / 481.4 MB, free: 3.562 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches