Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.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.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 100.3 kB / 17 MB, free: 6.477 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.00165/0.00165, allocations: 185.7 kB / 17.89 MB, free: 5.922 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.618/1.618, allocations: 223.3 MB / 241.9 MB, free: 336 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.2397/0.2397, allocations: 44.24 MB / 337.3 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004001, allocations: 13.72 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.142, allocations: 61.93 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test33): time 0.001877/0.1439, allocations: 1.259 MB / 472.9 MB, free: 12.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1453, allocations: 0.957 MB / 473.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.1453, allocations: 3.938 kB / 473.8 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001916/0.1455, allocations: 11.94 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1457, allocations: 35.89 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.1459, allocations: 75.84 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001211/0.1461, allocations: 43.84 kB / 474 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.806e-05/0.1462, allocations: 16 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.407e-05/0.1462, allocations: 15.92 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.1464, allocations: 27.84 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.304e-05/0.1464, allocations: 0 / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.474e-05/0.1465, allocations: 39.98 kB / 474.1 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.705e-05/0.1466, allocations: 11.92 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.1466, allocations: 29.7 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001245/0.1467, allocations: 63.91 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1467, allocations: 0 / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1467, allocations: 0 / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.1468, allocations: 0 / 474.2 MB, free: 11.1 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004779/0.1472, allocations: 379.3 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.342e-05/0.1473, allocations: 8.562 kB / 474.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.1473, allocations: 4 kB / 474.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.1475, allocations: 190.4 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.1476, allocations: 3.938 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.059e-05/0.1476, allocations: 7.953 kB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1477, allocations: 63.41 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1478, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.1478, allocations: 0 / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.1478, allocations: 4 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.164e-05/0.1479, allocations: 31.91 kB / 474.9 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003562/0.1483, allocations: 276.9 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.1485, allocations: 46.55 kB / 475.2 MB, free: 9.953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.1485, allocations: 12.86 kB / 475.2 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1486, allocations: 7.938 kB / 475.2 MB, free: 9.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.1486, allocations: 30.56 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.1486, allocations: 4 kB / 475.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005309/0.1491, allocations: 153.7 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.1492, allocations: 85.09 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.1494, allocations: 133.8 kB / 475.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1494, allocations: 25.7 kB / 475.6 MB, free: 9.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.1494, allocations: 92.12 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.976e-05/0.1495, allocations: 15.75 kB / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.1495, allocations: 0 / 475.7 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1496, allocations: 326.8 kB / 476 MB, free: 9.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.602e-05/0.1497, allocations: 27.92 kB / 476.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1497, allocations: 33.7 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.728e-05/0.1498, allocations: 23.98 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.1498, allocations: 0 / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001666/0.15, allocations: 93.55 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.279e-05/0.15, allocations: 4 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/0.15, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.15, allocations: 0 / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.1501, allocations: 19.97 kB / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1501, allocations: 0 / 476.2 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.1502, allocations: 12 kB / 476.2 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.413e-06/0.1502, allocations: 4 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.518e-05/0.1503, allocations: 121.8 kB / 476.4 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.835e-05/0.1503, allocations: 7.906 kB / 476.4 MB, free: 8.656 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002287/0.1506, allocations: 97.56 kB / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1506, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.1506, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1506, allocations: 0 / 476.5 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000399/0.151, allocations: 354.8 kB / 476.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.151, allocations: 4.062 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.289e-05/0.1511, allocations: 16 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1511, allocations: 3.938 kB / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1511, allocations: 0 / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1511, allocations: 0 / 476.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.1511, allocations: 3.938 kB / 476.8 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002157/0.1513, allocations: 191.4 kB / 477 MB, free: 7.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/0.1514, allocations: 81.02 kB / 477.1 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1514, allocations: 11.98 kB / 477.1 MB, free: 7.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.503e-05/0.1515, allocations: 4 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.072e-05/0.1515, allocations: 4 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.1515, allocations: 3.984 kB / 477.1 MB, free: 7.801 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.294e-05/0.1516, allocations: 107.3 kB / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1516, allocations: 0 / 477.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002407/0.1519, allocations: 20 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001045/0.1529, allocations: 452 kB / 477.7 MB, free: 7.398 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1531, allocations: 55.91 kB / 477.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1531, allocations: 0 / 477.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.1532, allocations: 27.98 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.1535, allocations: 23.94 kB / 477.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.1539, allocations: 168.8 kB / 478 MB, free: 7.102 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.1542, allocations: 0.6848 MB / 478.7 MB, free: 6.391 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.79e-05/0.1542, allocations: 19.92 kB / 478.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1543, allocations: 15.42 kB / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1543, allocations: 0 / 478.7 MB, free: 6.355 MB / 350.1 MB Notification: Performance of Templates: time 0.00384/0.1581, allocations: 1.273 MB / 480 MB, free: 5.09 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches