Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 96.67 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009754/0.0009755, allocations: 173.9 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.4 MB / 222.7 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3063/0.3063, allocations: 43.55 MB / 314.5 MB, free: 9.016 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005089/0.000509, allocations: 18.97 kB / 383.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1317, allocations: 58.85 MB / 442.8 MB, free: 13.29 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002369/0.1341, allocations: 1.384 MB / 444.1 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1354, allocations: 0.7344 MB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1356, allocations: 4 kB / 444.9 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003362/0.1359, allocations: 79.75 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002369/0.1362, allocations: 63.84 kB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003486/0.1365, allocations: 67.8 kB / 445.1 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.1367, allocations: 71.83 kB / 445.2 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.1368, allocations: 12.22 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.137, allocations: 47.83 kB / 445.2 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.1371, allocations: 43.83 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.284e-05/0.1371, allocations: 0 / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.643e-05/0.1372, allocations: 31.92 kB / 445.3 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.369e-05/0.1373, allocations: 23.91 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.316e-05/0.1373, allocations: 37.64 kB / 445.3 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001586/0.1375, allocations: 88.09 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.1375, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.1375, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1375, allocations: 0 / 445.4 MB, free: 10.59 MB / 382.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.000523/0.1381, allocations: 414.8 kB / 445.8 MB, free: 10.13 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.1381, allocations: 8.031 kB / 445.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.628e-05/0.1381, allocations: 11.81 kB / 445.9 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.1384, allocations: 215.5 kB / 446.1 MB, free: 9.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.1384, allocations: 4 kB / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1385, allocations: 0 / 446.1 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1386, allocations: 53.67 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.1387, allocations: 4 kB / 446.1 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1387, allocations: 4 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.1387, allocations: 3.953 kB / 446.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.183e-05/0.1388, allocations: 19.92 kB / 446.2 MB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.1392, allocations: 284.9 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.1393, allocations: 58.62 kB / 446.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1394, allocations: 4 kB / 446.5 MB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.1396, allocations: 75.47 kB / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1396, allocations: 0 / 446.6 MB, free: 9.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005475/0.1401, allocations: 181 kB / 446.7 MB, free: 9.102 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.1402, allocations: 51.41 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.1404, allocations: 210.3 kB / 447 MB, free: 8.824 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.1404, allocations: 29.7 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.1405, allocations: 108.1 kB / 447.1 MB, free: 8.68 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.914e-05/0.1405, allocations: 23.66 kB / 447.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/0.1405, allocations: 4 kB / 447.2 MB, free: 8.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001169/0.1407, allocations: 322.8 kB / 447.5 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1407, allocations: 23.92 kB / 447.5 MB, free: 8.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.539e-05/0.1408, allocations: 37.7 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.663e-05/0.1409, allocations: 20 kB / 447.6 MB, free: 8.242 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1409, allocations: 4 kB / 447.6 MB, free: 8.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001782/0.1411, allocations: 105.6 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1411, allocations: 11.95 kB / 447.7 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1411, allocations: 3.938 kB / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.1411, allocations: 0 / 447.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.1412, allocations: 12 kB / 447.7 MB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.1412, allocations: 7.984 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.1413, allocations: 3.906 kB / 447.7 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.797e-06/0.1413, allocations: 4 kB / 447.7 MB, free: 8.086 MB / 382.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 (10): * Single equations (assignments): 10 * 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.0001137/0.1414, allocations: 137.8 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.1414, allocations: 15.83 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.554e-05/0.1415, allocations: 21.36 kB / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1415, allocations: 0 / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1415, allocations: 0 / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.1415, allocations: 0 / 447.9 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.142, allocations: 403.3 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.142, allocations: 0 / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.142, allocations: 8 kB / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.142, allocations: 0 / 448.3 MB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.1421, allocations: 4.188 kB / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1421, allocations: 0 / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1421, allocations: 3.938 kB / 448.3 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.1423, allocations: 225.9 kB / 448.5 MB, free: 7.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.1424, allocations: 89.02 kB / 448.6 MB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.69e-05/0.1424, allocations: 4 kB / 448.6 MB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.567e-05/0.1425, allocations: 8.297 kB / 448.6 MB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1426, allocations: 8 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1426, allocations: 4 kB / 448.6 MB, free: 7.062 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1427, allocations: 160.2 kB / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 448.8 MB, free: 6.906 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.143, allocations: 24 kB / 448.8 MB, free: 6.883 MB / 382.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 (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.0009916/0.144, allocations: 469.1 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.1442, allocations: 63.91 kB / 449.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1442, allocations: 0 / 449.3 MB, free: 6.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.215e-05/0.1443, allocations: 24 kB / 449.3 MB, free: 6.371 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.1445, allocations: 31.83 kB / 449.4 MB, free: 6.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004576/0.145, allocations: 258.5 kB / 449.6 MB, free: 6.059 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/0.1453, allocations: 0.7121 MB / 450.3 MB, free: 5.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.705e-05/0.1454, allocations: 16.88 kB / 450.4 MB, free: 5.297 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.623e-05/0.1454, allocations: 23.42 kB / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1454, allocations: 0 / 450.4 MB, free: 5.273 MB / 382.1 MB Notification: Performance of Templates: time 0.004353/0.1498, allocations: 1.584 MB / 452 MB, free: 3.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches