Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") translateModel(ModelicaTest.Tables.CombiTable1D.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 104.8 kB / 16.27 MB, free: 5.93 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.002143/0.002143, allocations: 190.1 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2695/0.2695, allocations: 43.52 MB / 313.9 MB, free: 0.5234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00171/0.00171, allocations: 76.69 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1464/0.1481, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test20): time 0.00464/0.1529, allocations: 1.547 MB / 442.1 MB, free: 5.336 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00177/0.1547, allocations: 0.93 MB / 443 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.1548, allocations: 4 kB / 443 MB, free: 4.395 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004004/0.1553, allocations: 27.84 kB / 443 MB, free: 4.367 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003409/0.1557, allocations: 39.8 kB / 443.1 MB, free: 4.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004253/0.1561, allocations: 95.73 kB / 443.2 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.1564, allocations: 55.84 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.1566, allocations: 15.92 kB / 443.2 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.71e-05/0.1567, allocations: 23.86 kB / 443.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.1569, allocations: 27.44 kB / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.459e-05/0.157, allocations: 0 / 443.3 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001894/0.1572, allocations: 59.95 kB / 443.3 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.122e-05/0.1573, allocations: 11.88 kB / 443.4 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.307e-05/0.1573, allocations: 19.88 kB / 443.4 MB, free: 4.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.1576, allocations: 91.77 kB / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.1576, allocations: 0 / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1576, allocations: 0 / 443.5 MB, free: 3.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.832e-06/0.1576, allocations: 0 / 443.5 MB, free: 3.938 MB / 318.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.0006047/0.1582, allocations: 379.2 kB / 443.8 MB, free: 3.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1583, allocations: 15.89 kB / 443.8 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.1584, allocations: 4.938 kB / 443.9 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.1586, allocations: 191.8 kB / 444 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1586, allocations: 12.31 kB / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.837e-05/0.1587, allocations: 384 / 444.1 MB, free: 3.266 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.1588, allocations: 71.45 kB / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.1589, allocations: 0 / 444.1 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.1589, allocations: 4 kB / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.1589, allocations: 0 / 444.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.853e-05/0.159, allocations: 19.98 kB / 444.1 MB, free: 3.16 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.1594, allocations: 284.9 kB / 444.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.1597, allocations: 50.48 kB / 444.5 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.218e-05/0.1597, allocations: 16.8 kB / 444.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.937e-05/0.1598, allocations: 3.984 kB / 444.5 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.1598, allocations: 42.64 kB / 444.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.313e-06/0.1598, allocations: 4 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006254/0.1604, allocations: 137.3 kB / 444.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.1605, allocations: 77.11 kB / 444.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.1606, allocations: 133.8 kB / 444.9 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.1606, allocations: 29.7 kB / 444.9 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.17e-05/0.1607, allocations: 100 kB / 445 MB, free: 2.184 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/0.1607, allocations: 11.81 kB / 445 MB, free: 2.172 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.541e-05/0.1608, allocations: 17.72 kB / 445 MB, free: 2.148 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.574e-05/0.1608, allocations: 322.8 kB / 445.4 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.825e-05/0.1609, allocations: 19.98 kB / 445.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.627e-05/0.161, allocations: 33.7 kB / 445.4 MB, free: 1.766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1611, allocations: 60.78 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.1611, allocations: 0 / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.1613, allocations: 81.58 kB / 445.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.1613, allocations: 8 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.1614, allocations: 0 / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1614, allocations: 0 / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.492e-05/0.1614, allocations: 11.98 kB / 445.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1615, allocations: 4 kB / 445.6 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.1615, allocations: 4 kB / 445.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.1615, allocations: 4 kB / 445.6 MB, free: 1.586 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.873e-05/0.1616, allocations: 129.6 kB / 445.7 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.81e-05/0.1617, allocations: 4 kB / 445.7 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.1619, allocations: 97.72 kB / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1619, allocations: 0 / 445.8 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1619, allocations: 4.062 kB / 445.8 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1619, allocations: 7.984 kB / 445.8 MB, free: 1.332 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.1623, allocations: 354.4 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1623, allocations: 0 / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.043e-05/0.1624, allocations: 16 kB / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1624, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.1624, allocations: 0 / 446.2 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.1624, allocations: 3.938 kB / 446.2 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1624, allocations: 4 kB / 446.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001886/0.1626, allocations: 183.4 kB / 446.4 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.843e-05/0.1626, allocations: 77.39 kB / 446.4 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1627, allocations: 11.92 kB / 446.4 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.1627, allocations: 7.938 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.078e-05/0.1628, allocations: 4 kB / 446.5 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.1628, allocations: 15.91 kB / 446.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.967e-05/0.1628, allocations: 103.3 kB / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1629, allocations: 0 / 446.6 MB, free: 488 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1631, allocations: 24 kB / 446.6 MB, free: 464 kB / 318.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 (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.001113/0.1642, allocations: 437.8 kB / 447 MB, free: 104 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1645, allocations: 59.95 kB / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1645, allocations: 0 / 447.1 MB, free: 44 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.033e-05/0.1646, allocations: 27.92 kB / 447.1 MB, free: 16 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.165, allocations: 15.98 kB / 447.1 MB, free: 0 / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.1654, allocations: 161.5 kB / 447.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.1657, allocations: 0.6904 MB / 448 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.52e-05/0.1658, allocations: 24.22 kB / 448 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.1659, allocations: 15.42 kB / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1659, allocations: 0 / 448 MB, free: 15.06 MB / 334.1 MB Notification: Performance of Templates: time 0.004957/0.1708, allocations: 1.369 MB / 449.4 MB, free: 13.7 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches