Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 108.1 kB / 17.21 MB, free: 6.289 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.001083/0.001083, allocations: 194 kB / 18.12 MB, free: 5.383 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.579/1.579, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2232/0.2232, allocations: 44.18 MB / 336.1 MB, free: 3.008 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.62 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1487, allocations: 60.84 MB / 468.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test24): time 0.003411/0.1522, allocations: 1.614 MB / 470.1 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001638/0.1538, allocations: 0.9881 MB / 471.1 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.1539, allocations: 4 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1542, allocations: 27.91 kB / 471.2 MB, free: 12.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.1544, allocations: 31.92 kB / 471.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.1546, allocations: 71.78 kB / 471.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.1548, allocations: 55.84 kB / 471.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.1549, allocations: 8 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.1549, allocations: 23.91 kB / 471.4 MB, free: 12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.1551, allocations: 27.86 kB / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.307e-05/0.1551, allocations: 0 / 471.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1552, allocations: 51.91 kB / 471.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.924e-05/0.1553, allocations: 15.92 kB / 471.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.599e-05/0.1553, allocations: 15.88 kB / 471.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.1555, allocations: 87.77 kB / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1555, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1555, allocations: 0 / 471.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.1556, allocations: 0 / 471.5 MB, free: 11.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004952/0.1561, allocations: 379.6 kB / 471.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.1561, allocations: 8.031 kB / 471.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1561, allocations: 8.844 kB / 471.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.1563, allocations: 192.1 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.986e-06/0.1564, allocations: 384 / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.1564, allocations: 4.375 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.1566, allocations: 63.53 kB / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1566, allocations: 0 / 472.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1566, allocations: 4 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.1566, allocations: 3.938 kB / 472.2 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.151e-05/0.1567, allocations: 23.98 kB / 472.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.1571, allocations: 276.8 kB / 472.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.1573, allocations: 38.56 kB / 472.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.245e-05/0.1574, allocations: 24.94 kB / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.1574, allocations: 0 / 472.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.1574, allocations: 30.56 kB / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1574, allocations: 0 / 472.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005682/0.158, allocations: 137.3 kB / 472.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.1581, allocations: 85.11 kB / 472.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001258/0.1582, allocations: 132.7 kB / 472.9 MB, free: 10.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.1583, allocations: 33.64 kB / 473 MB, free: 10.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.1583, allocations: 96.11 kB / 473.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1584, allocations: 19.75 kB / 473.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.1584, allocations: 13.72 kB / 473.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1585, allocations: 322.8 kB / 473.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.1586, allocations: 23.92 kB / 473.4 MB, free: 9.699 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.268e-05/0.1587, allocations: 33.7 kB / 473.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.1588, allocations: 48.83 kB / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.1588, allocations: 0 / 473.5 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001786/0.159, allocations: 73.58 kB / 473.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.1591, allocations: 8 kB / 473.6 MB, free: 9.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1591, allocations: 4.031 kB / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1591, allocations: 0 / 473.6 MB, free: 9.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.43e-05/0.1592, allocations: 15.92 kB / 473.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.1592, allocations: 7.984 kB / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.873e-05/0.1592, allocations: 0 / 473.6 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-06/0.1592, allocations: 4 kB / 473.6 MB, free: 9.492 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 (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 9.341e-05/0.1593, allocations: 122.3 kB / 473.7 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.1594, allocations: 7.906 kB / 473.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.1596, allocations: 89.62 kB / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1596, allocations: 0 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.1596, allocations: 320 / 473.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.1596, allocations: 4 kB / 473.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004336/0.1601, allocations: 342.5 kB / 474.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1601, allocations: 4.219 kB / 474.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.662e-05/0.1601, allocations: 19.98 kB / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1602, allocations: 0 / 474.2 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1602, allocations: 4 kB / 474.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.1602, allocations: 3.938 kB / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1602, allocations: 0 / 474.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1604, allocations: 183.3 kB / 474.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.1605, allocations: 77.11 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.1605, allocations: 8 kB / 474.5 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.826e-05/0.1606, allocations: 7.938 kB / 474.5 MB, free: 8.531 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.1606, allocations: 3.984 kB / 474.5 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1606, allocations: 4 kB / 474.5 MB, free: 8.523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.141e-05/0.1607, allocations: 99.27 kB / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1607, allocations: 0 / 474.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000256/0.161, allocations: 31.89 kB / 474.6 MB, free: 8.395 MB / 350.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.0009987/0.162, allocations: 445.1 kB / 475 MB, free: 8.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001986/0.1622, allocations: 47.91 kB / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1622, allocations: 0 / 475.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.377e-05/0.1623, allocations: 27.98 kB / 475.1 MB, free: 8.051 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1626, allocations: 22.8 kB / 475.1 MB, free: 8.031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003747/0.163, allocations: 163.3 kB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1633, allocations: 0.6887 MB / 476 MB, free: 7.129 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.82e-05/0.1634, allocations: 11.98 kB / 476 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1634, allocations: 19.44 kB / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1634, allocations: 0 / 476 MB, free: 7.098 MB / 350.1 MB Notification: Performance of Templates: time 0.004315/0.1678, allocations: 1.294 MB / 477.3 MB, free: 5.809 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches