Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 95.7 kB / 17.35 MB, free: 6.367 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.001427/0.001427, allocations: 177 kB / 18.25 MB, free: 5.523 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.387/1.387, allocations: 223.3 MB / 242.3 MB, free: 244 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.2253/0.2253, allocations: 44.24 MB / 337.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003566, allocations: 8.688 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1437, allocations: 61.92 MB / 472.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002045/0.1458, allocations: 1.297 MB / 473.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007416/0.1465, allocations: 395.4 kB / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.1466, allocations: 0 / 473.9 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002616/0.1468, allocations: 79.77 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.147, allocations: 47.88 kB / 474.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1473, allocations: 75.84 kB / 474.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001515/0.1474, allocations: 79.81 kB / 474.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.761e-05/0.1475, allocations: 8.188 kB / 474.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.307e-05/0.1476, allocations: 39.77 kB / 474.3 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001013/0.1477, allocations: 39.91 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.1477, allocations: 4 kB / 474.3 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.748e-05/0.1478, allocations: 43.97 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.668e-05/0.1479, allocations: 19.92 kB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.04e-05/0.148, allocations: 53.45 kB / 474.4 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001623/0.1482, allocations: 95.97 kB / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1482, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1482, allocations: 0 / 474.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.1482, allocations: 0 / 474.5 MB, free: 11.07 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004553/0.1486, allocations: 395.1 kB / 474.9 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.1487, allocations: 8.031 kB / 474.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1487, allocations: 12.78 kB / 474.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.1489, allocations: 200.1 kB / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1489, allocations: 384 / 475.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.149, allocations: 8.375 kB / 475.1 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.1491, allocations: 57.59 kB / 475.2 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.1491, allocations: 3.906 kB / 475.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1492, allocations: 8 kB / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.1492, allocations: 0 / 475.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.1493, allocations: 35.92 kB / 475.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1496, allocations: 288.8 kB / 475.5 MB, free: 9.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.773e-05/0.1498, allocations: 42.55 kB / 475.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.1498, allocations: 24.94 kB / 475.6 MB, free: 9.859 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.1498, allocations: 7.938 kB / 475.6 MB, free: 9.852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.1499, allocations: 30.56 kB / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.1499, allocations: 0 / 475.6 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008625/0.1508, allocations: 249.1 kB / 475.8 MB, free: 9.562 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.1508, allocations: 59.39 kB / 475.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.151, allocations: 214.1 kB / 476.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.151, allocations: 25.7 kB / 476.1 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.1511, allocations: 108 kB / 476.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.1511, allocations: 27.64 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.1512, allocations: 17.72 kB / 476.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1513, allocations: 322.8 kB / 476.6 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.973e-05/0.1514, allocations: 27.98 kB / 476.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.1514, allocations: 27.98 kB / 476.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1516, allocations: 72.77 kB / 476.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1516, allocations: 4 kB / 476.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002099/0.1518, allocations: 101.5 kB / 476.8 MB, free: 8.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1519, allocations: 8 kB / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1519, allocations: 0 / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.1519, allocations: 0 / 476.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.602e-05/0.152, allocations: 23.92 kB / 476.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.152, allocations: 7.938 kB / 476.9 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.313e-05/0.1521, allocations: 11.98 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.1521, allocations: 4 kB / 476.9 MB, free: 8.465 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 (8): * Single equations (assignments): 8 * 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.0001029/0.1522, allocations: 126.3 kB / 477 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.1522, allocations: 11.91 kB / 477 MB, free: 8.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.1525, allocations: 130.7 kB / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1525, allocations: 0 / 477.2 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1525, allocations: 3.938 kB / 477.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.1525, allocations: 3.984 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004944/0.153, allocations: 411.2 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.153, allocations: 0 / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.702e-05/0.1531, allocations: 23.92 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1531, allocations: 0 / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.1531, allocations: 3.938 kB / 477.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.1531, allocations: 4 kB / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1531, allocations: 0 / 477.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.1534, allocations: 208.3 kB / 477.8 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.754e-05/0.1535, allocations: 92.94 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.1535, allocations: 4 kB / 477.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.461e-05/0.1536, allocations: 12 kB / 477.9 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.1536, allocations: 11.98 kB / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.1536, allocations: 0 / 477.9 MB, free: 7.328 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1538, allocations: 155.2 kB / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1538, allocations: 0 / 478.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.154, allocations: 24 kB / 478.1 MB, free: 7.152 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001019/0.155, allocations: 467.1 kB / 478.5 MB, free: 6.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002395/0.1553, allocations: 75.95 kB / 478.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.1553, allocations: 0 / 478.6 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.1554, allocations: 39.92 kB / 478.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.1557, allocations: 23.92 kB / 478.7 MB, free: 6.742 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.1562, allocations: 270.4 kB / 478.9 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002846/0.1565, allocations: 0.7004 MB / 479.6 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.571e-05/0.1566, allocations: 20.95 kB / 479.7 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.99e-05/0.1566, allocations: 15.44 kB / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.1566, allocations: 0 / 479.7 MB, free: 5.676 MB / 350.1 MB Notification: Performance of Templates: time 0.003861/0.1605, allocations: 1.256 MB / 480.9 MB, free: 4.426 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches