Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009739/0.0009741, allocations: 97.86 kB / 17 MB, free: 6.418 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.001267/0.001267, allocations: 188.3 kB / 17.89 MB, free: 5.945 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.443/1.443, allocations: 223.3 MB / 241.9 MB, free: 252 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.23/0.23, allocations: 44.24 MB / 337.2 MB, free: 2.859 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 12 kB / 409.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1515, allocations: 61.92 MB / 471.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002247/0.1538, allocations: 1.274 MB / 472.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007855/0.1546, allocations: 383.5 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.233e-05/0.1547, allocations: 4 kB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002904/0.155, allocations: 79.81 kB / 473.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001645/0.1552, allocations: 63.8 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000247/0.1554, allocations: 71.91 kB / 473.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1556, allocations: 71.75 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001193/0.1557, allocations: 12.17 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.785e-05/0.1558, allocations: 31.91 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.1559, allocations: 39.83 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1559, allocations: 4 kB / 473.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.825e-05/0.156, allocations: 35.98 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.236e-05/0.1561, allocations: 19.92 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.1561, allocations: 37.64 kB / 473.7 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.1563, allocations: 79.88 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.1563, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1563, allocations: 0 / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.759e-06/0.1563, allocations: 0 / 473.8 MB, free: 11.5 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.0005046/0.1568, allocations: 395.2 kB / 474.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1569, allocations: 12.56 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.672e-05/0.1569, allocations: 15.75 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1571, allocations: 195.6 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1572, allocations: 4 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.1572, allocations: 11.94 kB / 474.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1573, allocations: 49.64 kB / 474.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.1574, allocations: 3.984 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.1574, allocations: 0 / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.1574, allocations: 4 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.24e-05/0.1575, allocations: 27.98 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004323/0.1579, allocations: 300.7 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.158, allocations: 42.5 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.1581, allocations: 24.94 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1581, allocations: 0 / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1582, allocations: 34.56 kB / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.41e-07/0.1582, allocations: 0 / 474.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.00106/0.1592, allocations: 249.2 kB / 475.1 MB, free: 9.988 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.1593, allocations: 51.41 kB / 475.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002321/0.1595, allocations: 235.2 kB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1596, allocations: 29.64 kB / 475.4 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.425e-05/0.1596, allocations: 116 kB / 475.5 MB, free: 9.531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.1597, allocations: 19.72 kB / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.1597, allocations: 0 / 475.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1599, allocations: 326.8 kB / 475.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.427e-05/0.1599, allocations: 27.98 kB / 475.9 MB, free: 9.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.053e-05/0.16, allocations: 40.03 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.824e-05/0.1601, allocations: 24 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.1601, allocations: 3.938 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002223/0.1603, allocations: 121.9 kB / 476.1 MB, free: 8.965 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1604, allocations: 4 kB / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1604, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.1604, allocations: 0 / 476.1 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.1605, allocations: 27.92 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.1605, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.007e-05/0.1606, allocations: 8 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.1606, allocations: 0 / 476.1 MB, free: 8.926 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001408/0.1607, allocations: 141.7 kB / 476.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.1608, allocations: 11.89 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.1611, allocations: 123 kB / 476.4 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1611, allocations: 4 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1611, allocations: 4 kB / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1611, allocations: 0 / 476.4 MB, free: 8.637 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005822/0.1617, allocations: 415.3 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1617, allocations: 7.875 kB / 476.8 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.1618, allocations: 24.02 kB / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.1618, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.1618, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1618, allocations: 0 / 476.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1618, allocations: 4 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002972/0.1621, allocations: 208.2 kB / 477.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.098e-05/0.1622, allocations: 92.92 kB / 477.1 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.558e-05/0.1622, allocations: 7.984 kB / 477.1 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.042e-05/0.1623, allocations: 7.938 kB / 477.2 MB, free: 7.789 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.1623, allocations: 11.98 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.1624, allocations: 3.953 kB / 477.2 MB, free: 7.773 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001619/0.1625, allocations: 167.2 kB / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1625, allocations: 0 / 477.3 MB, free: 7.609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1628, allocations: 23.98 kB / 477.4 MB, free: 7.586 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 (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.001143/0.1639, allocations: 468.3 kB / 477.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002164/0.1642, allocations: 67.91 kB / 477.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1642, allocations: 0 / 477.9 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.53e-05/0.1643, allocations: 40.05 kB / 477.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.1646, allocations: 15.98 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005022/0.1651, allocations: 278.1 kB / 478.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1655, allocations: 0.7121 MB / 478.9 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.31e-05/0.1655, allocations: 12.67 kB / 478.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.1656, allocations: 15.38 kB / 478.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1656, allocations: 0 / 478.9 MB, free: 6.117 MB / 350.1 MB Notification: Performance of Templates: time 0.003975/0.1696, allocations: 1.241 MB / 480.2 MB, free: 4.883 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches