Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009736/0.0009738, allocations: 98.56 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.001225/0.001226, 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.476/1.476, allocations: 223.3 MB / 241.9 MB, free: 228 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.2458/0.2458, allocations: 44.25 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004301/0.0004305, allocations: 11.94 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.1494, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.002265/0.1517, allocations: 1.301 MB / 472.9 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007901/0.1525, allocations: 383.6 kB / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.601e-05/0.1526, allocations: 0 / 473.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003158/0.1529, allocations: 87.8 kB / 473.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001643/0.1531, allocations: 63.8 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.1534, allocations: 86.58 kB / 473.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.1535, allocations: 67.83 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.1537, allocations: 23.98 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.901e-05/0.1538, allocations: 39.83 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.1539, allocations: 43.83 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.1539, allocations: 4 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.154, allocations: 35.98 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.093e-05/0.1541, allocations: 15.92 kB / 473.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.097e-05/0.1542, allocations: 45.58 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001554/0.1543, allocations: 87.86 kB / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/0.1543, allocations: 0 / 473.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1543, allocations: 3.938 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.1544, allocations: 0 / 473.9 MB, free: 11.41 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005295/0.1549, allocations: 415.1 kB / 474.3 MB, free: 10.96 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1549, allocations: 8.031 kB / 474.3 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.124e-05/0.155, allocations: 11.89 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.1552, allocations: 214.7 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.1553, allocations: 4 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/0.1553, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001806/0.1555, allocations: 77.55 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.1555, allocations: 4 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1555, allocations: 4 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1555, allocations: 0 / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001226/0.1557, allocations: 43.91 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004677/0.1561, allocations: 328.7 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.1563, allocations: 62.55 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.792e-05/0.1564, allocations: 20.86 kB / 475 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1564, allocations: 8 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/0.1564, allocations: 38.48 kB / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1564, allocations: 0 / 475.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001342/0.1578, allocations: 325.5 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/0.1578, allocations: 55.41 kB / 475.4 MB, free: 9.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/0.1583, allocations: 239.2 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1583, allocations: 25.7 kB / 475.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1585, allocations: 120 kB / 475.8 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1585, allocations: 43.36 kB / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-06/0.1586, allocations: 0 / 475.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.1588, allocations: 326.8 kB / 476.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.916e-05/0.1589, allocations: 43.97 kB / 476.2 MB, free: 8.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.159, allocations: 35.98 kB / 476.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001005/0.1591, allocations: 47.23 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1591, allocations: 0 / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002527/0.1594, allocations: 145.5 kB / 476.5 MB, free: 8.602 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.1594, allocations: 6.5 kB / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.1594, allocations: 0 / 476.5 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.531e-05/0.1595, allocations: 4 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.1596, allocations: 28.09 kB / 476.5 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.1596, allocations: 3.938 kB / 476.5 MB, free: 8.562 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.1597, allocations: 19.94 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1597, allocations: 8 kB / 476.5 MB, free: 8.535 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 (13): * Single equations (assignments): 13 * 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.0001343/0.1599, allocations: 138.2 kB / 476.7 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.1599, allocations: 11.81 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.1603, allocations: 175.1 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1603, allocations: 0 / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1603, allocations: 0 / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1603, allocations: 4 kB / 476.8 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.161, allocations: 487.1 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1611, allocations: 0 / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.497e-05/0.1612, allocations: 27.98 kB / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1612, allocations: 0 / 477.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1612, allocations: 7.953 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1612, allocations: 4 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1612, allocations: 3.984 kB / 477.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003491/0.1616, allocations: 248.1 kB / 477.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.599e-05/0.1617, allocations: 88.92 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.1617, allocations: 7.984 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.137e-05/0.1618, allocations: 15.95 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.647e-05/0.1619, allocations: 11.97 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.1619, allocations: 4 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001736/0.162, allocations: 171.2 kB / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1621, allocations: 0 / 477.9 MB, free: 7.051 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1623, allocations: 32 kB / 477.9 MB, free: 7.02 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 (13): * Single equations (assignments): 13 * 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.001209/0.1635, allocations: 445.4 kB / 478.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004269/0.164, allocations: 107.8 kB / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.164, allocations: 0 / 478.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.1641, allocations: 59.91 kB / 478.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/0.1645, allocations: 23.11 kB / 478.5 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006151/0.1651, allocations: 330.9 kB / 478.9 MB, free: 6.223 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006318/0.1658, allocations: 0.7121 MB / 479.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.949e-05/0.1658, allocations: 24.55 kB / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.103e-05/0.1659, allocations: 23.42 kB / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of SimCode: time 1.353e-06/0.1659, allocations: 0 / 479.6 MB, free: 5.438 MB / 350.1 MB Notification: Performance of Templates: time 0.005202/0.1711, allocations: 1.404 MB / 481 MB, free: 4.043 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches