Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 102.2 kB / 15.98 MB, free: 6.352 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.00153/0.00153, allocations: 189.6 kB / 16.9 MB, free: 6.184 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.869/1.869, allocations: 205.1 MB / 222.8 MB, free: 4.699 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.412/0.412, allocations: 43.49 MB / 313.6 MB, free: 8.301 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.00175/0.00175, allocations: 67.91 kB / 382.2 MB, free: 8.383 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1413/0.143, allocations: 57.78 MB / 440 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.003741/0.1468, allocations: 1.76 MB / 441.8 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1483, allocations: 0.7885 MB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001132/0.1484, allocations: 3.938 kB / 442.6 MB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.1488, allocations: 31.89 kB / 442.6 MB, free: 11.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1491, allocations: 51.77 kB / 442.6 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1494, allocations: 79.86 kB / 442.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002062/0.1496, allocations: 103.7 kB / 442.8 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.1498, allocations: 12.22 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1499, allocations: 39.8 kB / 442.9 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.751e-05/0.15, allocations: 39.77 kB / 442.9 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.15, allocations: 4 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.1501, allocations: 32 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.321e-05/0.1502, allocations: 19.92 kB / 443 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.637e-05/0.1503, allocations: 39.72 kB / 443 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.1505, allocations: 119.9 kB / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1505, allocations: 0 / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1505, allocations: 0 / 443.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.719e-06/0.1505, allocations: 0 / 443.1 MB, free: 11.36 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.0005751/0.1511, allocations: 418.9 kB / 443.5 MB, free: 10.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.1512, allocations: 11.89 kB / 443.5 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.1512, allocations: 8.844 kB / 443.5 MB, free: 10.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.1515, allocations: 208 kB / 443.8 MB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1515, allocations: 4.375 kB / 443.8 MB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.895e-05/0.1515, allocations: 12.11 kB / 443.8 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.1517, allocations: 53.67 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1517, allocations: 3.938 kB / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1517, allocations: 0 / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.1518, allocations: 0 / 443.8 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.1519, allocations: 23.92 kB / 443.8 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.1523, allocations: 280.9 kB / 444.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1525, allocations: 58.69 kB / 444.2 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.1526, allocations: 20.84 kB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1526, allocations: 3.938 kB / 444.2 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.1529, allocations: 71.3 kB / 444.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.016e-06/0.1529, allocations: 4 kB / 444.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006044/0.1535, allocations: 169.3 kB / 444.4 MB, free: 9.859 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/0.1535, allocations: 51.41 kB / 444.5 MB, free: 9.797 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.1537, allocations: 190.1 kB / 444.7 MB, free: 9.602 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1538, allocations: 29.7 kB / 444.7 MB, free: 9.566 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.702e-05/0.1538, allocations: 100.1 kB / 444.8 MB, free: 9.465 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.1539, allocations: 23.7 kB / 444.8 MB, free: 9.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.045e-05/0.1539, allocations: 21.72 kB / 444.9 MB, free: 9.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.154, allocations: 330.8 kB / 445.2 MB, free: 9.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.717e-05/0.1541, allocations: 19.98 kB / 445.2 MB, free: 9.062 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.34e-05/0.1542, allocations: 41.64 kB / 445.2 MB, free: 9.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1543, allocations: 61.64 kB / 445.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1543, allocations: 0 / 445.3 MB, free: 8.949 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000195/0.1545, allocations: 106 kB / 445.4 MB, free: 8.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1545, allocations: 8.031 kB / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1545, allocations: 0 / 445.4 MB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.1546, allocations: 4 kB / 445.4 MB, free: 8.828 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.1546, allocations: 19.98 kB / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1547, allocations: 0 / 445.4 MB, free: 8.809 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.1547, allocations: 11.94 kB / 445.4 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1547, allocations: 0 / 445.4 MB, free: 8.797 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 ($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.0001023/0.1548, allocations: 129.8 kB / 445.6 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.308e-05/0.1549, allocations: 7.906 kB / 445.6 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.1549, allocations: 16.72 kB / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.1549, allocations: 0 / 445.6 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.1549, allocations: 3.984 kB / 445.6 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.1549, allocations: 7.938 kB / 445.6 MB, free: 8.629 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004181/0.1554, allocations: 395.2 kB / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1554, allocations: 0 / 446 MB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-05/0.1554, allocations: 11.94 kB / 446 MB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1554, allocations: 4.031 kB / 446 MB, free: 8.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.1555, allocations: 7.938 kB / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1555, allocations: 0 / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1555, allocations: 0 / 446 MB, free: 8.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.1557, allocations: 200.3 kB / 446.2 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.406e-05/0.1558, allocations: 85.02 kB / 446.3 MB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.548e-05/0.1558, allocations: 7.938 kB / 446.3 MB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1559, allocations: 8 kB / 446.3 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1559, allocations: 11.92 kB / 446.3 MB, free: 7.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.79e-05/0.1559, allocations: 4 kB / 446.3 MB, free: 7.812 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001106/0.1561, allocations: 144 kB / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1561, allocations: 0 / 446.5 MB, free: 7.672 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1563, allocations: 20 kB / 446.5 MB, free: 7.652 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 (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.001055/0.1574, allocations: 485.5 kB / 447 MB, free: 7.207 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1576, allocations: 67.91 kB / 447 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1576, allocations: 0 / 447 MB, free: 7.141 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/0.1577, allocations: 23.98 kB / 447 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.158, allocations: 40.27 kB / 447.1 MB, free: 7.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004785/0.1585, allocations: 251 kB / 447.3 MB, free: 6.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.1588, allocations: 0.7041 MB / 448 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.525e-05/0.1588, allocations: 8.891 kB / 448 MB, free: 6.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.002e-05/0.1589, allocations: 23.42 kB / 448.1 MB, free: 6.039 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1589, allocations: 0 / 448.1 MB, free: 6.039 MB / 382.1 MB Notification: Performance of Templates: time 0.004313/0.1632, allocations: 1.663 MB / 449.7 MB, free: 4.379 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches