Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 97.48 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.001548/0.001548, allocations: 189.4 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.572/1.572, allocations: 223.2 MB / 241.9 MB, free: 236 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.2127/0.2127, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 11.94 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1468, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002304/0.1492, allocations: 1.274 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008482/0.1501, allocations: 383.5 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.755e-05/0.1501, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003486/0.1505, allocations: 71.83 kB / 473.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000218/0.1507, allocations: 59.81 kB / 473.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1511, allocations: 95 kB / 473.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1513, allocations: 71.75 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.1514, allocations: 8.188 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.78e-05/0.1515, allocations: 31.89 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1516, allocations: 39.84 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.1516, allocations: 0 / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1517, allocations: 43.97 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.12e-05/0.1518, allocations: 19.92 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.623e-05/0.1519, allocations: 37.64 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.152, allocations: 71.89 kB / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.152, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.152, allocations: 0 / 473.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.1521, allocations: 0 / 473.8 MB, free: 11.49 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.0005395/0.1526, allocations: 397.4 kB / 474.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1527, allocations: 12.56 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.677e-05/0.1527, allocations: 15.84 kB / 474.2 MB, free: 11.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.153, allocations: 186.9 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.153, allocations: 4 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.153, allocations: 3.984 kB / 474.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.1532, allocations: 65.56 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.1532, allocations: 3.906 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1532, allocations: 0 / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1532, allocations: 4 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.82e-05/0.1533, allocations: 27.98 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.1538, allocations: 304.8 kB / 474.8 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.1539, allocations: 46.5 kB / 474.8 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.154, allocations: 28.94 kB / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.154, allocations: 0 / 474.9 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1541, allocations: 30.56 kB / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.1541, allocations: 0 / 474.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009517/0.155, allocations: 265 kB / 475.1 MB, free: 9.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.1551, allocations: 55.41 kB / 475.2 MB, free: 9.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002083/0.1553, allocations: 210.2 kB / 475.4 MB, free: 9.676 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1553, allocations: 25.7 kB / 475.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.463e-05/0.1554, allocations: 104 kB / 475.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.989e-05/0.1554, allocations: 23.66 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.439e-06/0.1555, allocations: 0 / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1556, allocations: 334.8 kB / 475.9 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.102e-05/0.1557, allocations: 35.91 kB / 475.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.147e-05/0.1558, allocations: 36.05 kB / 475.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.843e-05/0.1559, allocations: 40.03 kB / 476 MB, free: 9.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1559, allocations: 7.938 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002212/0.1561, allocations: 121.5 kB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.1561, allocations: 6.344 kB / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1561, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.1561, allocations: 0 / 476.1 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.611e-05/0.1562, allocations: 19.98 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.1563, allocations: 4 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.98e-05/0.1563, allocations: 8 kB / 476.2 MB, free: 8.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.1563, allocations: 0 / 476.2 MB, free: 8.902 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.0001141/0.1564, allocations: 137.7 kB / 476.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.942e-05/0.1565, allocations: 7.906 kB / 476.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.1568, allocations: 142.3 kB / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.1568, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1568, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1568, allocations: 0 / 476.4 MB, free: 8.605 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005346/0.1573, allocations: 435.2 kB / 476.9 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1574, allocations: 3.938 kB / 476.9 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.1574, allocations: 24.34 kB / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1574, allocations: 0 / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.1575, allocations: 0 / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1575, allocations: 0 / 476.9 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1575, allocations: 4 kB / 476.9 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1578, allocations: 224.2 kB / 477.1 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.1578, allocations: 92.91 kB / 477.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1578, allocations: 8 kB / 477.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1579, allocations: 11.98 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.158, allocations: 4 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-06/0.158, allocations: 11.88 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001338/0.1581, allocations: 155.2 kB / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1581, allocations: 0 / 477.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.1584, allocations: 24 kB / 477.4 MB, free: 7.531 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.001109/0.1595, allocations: 460.3 kB / 477.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.1597, allocations: 79.95 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1597, allocations: 4 kB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1599, allocations: 51.89 kB / 478 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.1602, allocations: 12 kB / 478 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005045/0.1607, allocations: 278.4 kB / 478.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.161, allocations: 0.7043 MB / 479 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.469e-05/0.1611, allocations: 20.66 kB / 479 MB, free: 6.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1612, allocations: 23.3 kB / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1612, allocations: 0 / 479 MB, free: 6.031 MB / 350.1 MB Notification: Performance of Templates: time 0.004216/0.1654, allocations: 1.267 MB / 480.3 MB, free: 4.77 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches