Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,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",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 102.1 kB / 15.98 MB, free: 6.352 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.001176/0.001176, allocations: 196.8 kB / 16.91 MB, free: 6.191 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.822/1.822, allocations: 205.1 MB / 222.8 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3965/0.3965, allocations: 43.49 MB / 313.6 MB, free: 8.559 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.001416/0.001416, allocations: 67.89 kB / 382.2 MB, free: 8.605 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1509, allocations: 57.79 MB / 440 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.004699/0.1557, allocations: 1.629 MB / 441.6 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.1566, allocations: 315.5 kB / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.265e-05/0.1566, allocations: 0 / 441.9 MB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004178/0.1571, allocations: 95.8 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.1574, allocations: 55.86 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002812/0.1577, allocations: 71.86 kB / 442.2 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001947/0.1579, allocations: 79.81 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.158, allocations: 20.44 kB / 442.3 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.1581, allocations: 31.86 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.1583, allocations: 55.81 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.1583, allocations: 4 kB / 442.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.979e-05/0.1584, allocations: 39.98 kB / 442.4 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.769e-05/0.1584, allocations: 23.91 kB / 442.4 MB, free: 12.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.584e-05/0.1585, allocations: 35.73 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1587, allocations: 103.6 kB / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1587, allocations: 0 / 442.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1587, allocations: 4 kB / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.1587, allocations: 0 / 442.6 MB, free: 12.15 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006141/0.1593, allocations: 414.3 kB / 443 MB, free: 11.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.1594, allocations: 11.89 kB / 443 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.078e-05/0.1594, allocations: 20.75 kB / 443 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.1597, allocations: 196.9 kB / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.1597, allocations: 4.375 kB / 443.2 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.1597, allocations: 12.36 kB / 443.2 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001732/0.1599, allocations: 69.59 kB / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1599, allocations: 0 / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.16, allocations: 0 / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.16, allocations: 0 / 443.3 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.1601, allocations: 35.91 kB / 443.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.1605, allocations: 300.7 kB / 443.6 MB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.1607, allocations: 50.56 kB / 443.6 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.95e-05/0.1607, allocations: 20.97 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.1608, allocations: 4 kB / 443.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/0.1608, allocations: 42.44 kB / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.1608, allocations: 0 / 443.7 MB, free: 10.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006841/0.1615, allocations: 189.1 kB / 443.9 MB, free: 10.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.584e-05/0.1616, allocations: 55.41 kB / 443.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.1619, allocations: 234.3 kB / 444.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.1619, allocations: 25.7 kB / 444.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.162, allocations: 112.1 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.1621, allocations: 23.66 kB / 444.3 MB, free: 10.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.1621, allocations: 21.7 kB / 444.4 MB, free: 10.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1623, allocations: 322.8 kB / 444.7 MB, free: 9.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.852e-05/0.1624, allocations: 31.92 kB / 444.7 MB, free: 9.789 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.1625, allocations: 19.98 kB / 444.7 MB, free: 9.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.1626, allocations: 65.06 kB / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1626, allocations: 0 / 444.8 MB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002279/0.1629, allocations: 105.4 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.293e-05/0.1629, allocations: 4 kB / 444.9 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1629, allocations: 3.984 kB / 444.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/0.163, allocations: 0 / 444.9 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.1631, allocations: 16 kB / 444.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.1631, allocations: 0 / 444.9 MB, free: 9.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.189e-05/0.1632, allocations: 15.92 kB / 444.9 MB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-06/0.1632, allocations: 4 kB / 444.9 MB, free: 9.551 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000151/0.1633, allocations: 129.8 kB / 445.1 MB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.688e-05/0.1634, allocations: 15.81 kB / 445.1 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.1637, allocations: 123 kB / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1637, allocations: 384 / 445.2 MB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.1637, allocations: 4 kB / 445.2 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.1637, allocations: 7.938 kB / 445.2 MB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005294/0.1643, allocations: 394.5 kB / 445.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1643, allocations: 0 / 445.6 MB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/0.1644, allocations: 19.98 kB / 445.6 MB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1644, allocations: 3.938 kB / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1644, allocations: 0 / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1644, allocations: 0 / 445.6 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1644, allocations: 8 kB / 445.6 MB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002529/0.1647, allocations: 199.3 kB / 445.8 MB, free: 8.574 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.847e-05/0.1647, allocations: 81.02 kB / 445.9 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1648, allocations: 11.94 kB / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.676e-05/0.1648, allocations: 0 / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.1649, allocations: 7.984 kB / 445.9 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1649, allocations: 7.938 kB / 445.9 MB, free: 8.449 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.1651, allocations: 172.2 kB / 446.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1651, allocations: 0 / 446.1 MB, free: 8.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002415/0.1653, allocations: 27.98 kB / 446.1 MB, free: 8.254 MB / 382.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 (8): * Single equations (assignments): 8 * 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.0009201/0.1662, allocations: 402 kB / 446.5 MB, free: 7.895 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.1665, allocations: 71.95 kB / 446.6 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.1665, allocations: 7.938 kB / 446.6 MB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.1666, allocations: 35.97 kB / 446.6 MB, free: 7.781 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.1669, allocations: 20.17 kB / 446.6 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.1675, allocations: 289.9 kB / 446.9 MB, free: 7.449 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.1677, allocations: 0.7041 MB / 447.6 MB, free: 6.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.1678, allocations: 16.64 kB / 447.6 MB, free: 6.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.1678, allocations: 19.38 kB / 447.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1678, allocations: 4 kB / 447.7 MB, free: 6.68 MB / 382.1 MB Notification: Performance of Templates: time 0.003733/0.1716, allocations: 1.182 MB / 448.9 MB, free: 5.496 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches