Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 98.78 kB / 17.01 MB, free: 6.391 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.001096/0.001096, allocations: 182.2 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.525/1.525, allocations: 223.3 MB / 241.9 MB, free: 324 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.221/0.221, allocations: 44.24 MB / 337.3 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.0003541, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1505/0.1509, allocations: 61.93 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002012/0.153, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007304/0.1537, allocations: 379.5 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.1538, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003002/0.1541, allocations: 99.8 kB / 473.3 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.1543, allocations: 71.84 kB / 473.4 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000244/0.1545, allocations: 71.83 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1547, allocations: 63.81 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.1548, allocations: 20.17 kB / 473.6 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.108e-05/0.1549, allocations: 31.86 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.155, allocations: 51.86 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.1551, allocations: 0 / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.888e-05/0.1551, allocations: 35.98 kB / 473.7 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.1552, allocations: 27.86 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.668e-05/0.1553, allocations: 33.7 kB / 473.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.1554, allocations: 87.73 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.1555, allocations: 4 kB / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.1555, allocations: 0 / 473.8 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1555, allocations: 0 / 473.8 MB, free: 11.45 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.0005648/0.156, allocations: 409.3 kB / 474.2 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.1561, allocations: 16.5 kB / 474.2 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.697e-05/0.1562, allocations: 11.91 kB / 474.3 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.1564, allocations: 198.8 kB / 474.5 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1564, allocations: 4 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.1565, allocations: 4 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1566, allocations: 65.61 kB / 474.5 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.1567, allocations: 7.938 kB / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.1567, allocations: 0 / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1567, allocations: 0 / 474.5 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.894e-05/0.1568, allocations: 27.98 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005483/0.1573, allocations: 288.8 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.1575, allocations: 50.5 kB / 474.9 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.89e-05/0.1575, allocations: 20.94 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1576, allocations: 4 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1576, allocations: 30.56 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.1576, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000905/0.1585, allocations: 257.3 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.534e-05/0.1586, allocations: 55.41 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.1588, allocations: 238.7 kB / 475.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.1589, allocations: 25.7 kB / 475.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.1589, allocations: 112 kB / 475.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.159, allocations: 31.72 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.159, allocations: 0 / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1592, allocations: 326.8 kB / 476 MB, free: 9.09 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.1593, allocations: 27.98 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.291e-05/0.1593, allocations: 36.03 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.369e-05/0.1594, allocations: 31.94 kB / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1594, allocations: 0 / 476.1 MB, free: 8.996 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002077/0.1596, allocations: 113.5 kB / 476.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1597, allocations: 6.5 kB / 476.2 MB, free: 8.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.1597, allocations: 7.984 kB / 476.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1597, allocations: 4 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1598, allocations: 19.98 kB / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.1598, allocations: 0 / 476.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.112e-05/0.1599, allocations: 8 kB / 476.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1599, allocations: 0 / 476.2 MB, free: 8.836 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.000114/0.16, allocations: 141.7 kB / 476.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.16, allocations: 7.906 kB / 476.4 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.1603, allocations: 134.9 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1603, allocations: 0 / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1603, allocations: 4 kB / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1604, allocations: 0 / 476.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000502/0.1609, allocations: 415.2 kB / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1609, allocations: 0 / 476.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.76e-05/0.1609, allocations: 19.98 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.161, allocations: 3.938 kB / 476.9 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.161, allocations: 8.031 kB / 476.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.161, allocations: 4 kB / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/0.161, allocations: 0 / 476.9 MB, free: 8.043 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.1613, allocations: 224.1 kB / 477.2 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.1613, allocations: 89 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1614, allocations: 0 / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1614, allocations: 8 kB / 477.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.1615, allocations: 7.984 kB / 477.3 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.886e-06/0.1615, allocations: 7.953 kB / 477.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001666/0.1617, allocations: 188.3 kB / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1617, allocations: 0 / 477.5 MB, free: 7.492 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002632/0.162, allocations: 16 kB / 477.5 MB, free: 7.477 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.001161/0.1631, allocations: 463.8 kB / 477.9 MB, free: 7.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.1634, allocations: 71.95 kB / 478 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1634, allocations: 0 / 478 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.73e-05/0.1635, allocations: 39.92 kB / 478 MB, free: 7.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003464/0.1638, allocations: 16.17 kB / 478 MB, free: 7.074 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005791/0.1644, allocations: 302 kB / 478.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.1648, allocations: 0.7225 MB / 479.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.132e-05/0.1649, allocations: 8.656 kB / 479.1 MB, free: 5.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.1649, allocations: 15.44 kB / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1649, allocations: 0 / 479.1 MB, free: 5.977 MB / 350.1 MB Notification: Performance of Templates: time 0.004108/0.169, allocations: 1.25 MB / 480.3 MB, free: 4.73 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches