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.001367/0.001367, allocations: 104.3 kB / 18.4 MB, free: 4.57 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.001519/0.001519, allocations: 187 kB / 19.34 MB, free: 3.641 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.413/1.413, allocations: 222.9 MB / 243 MB, free: 15.15 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.2034/0.2034, allocations: 44.18 MB / 337.4 MB, free: 2.711 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 61.47 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1489/0.151, allocations: 60.82 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.003218/0.1543, allocations: 1.575 MB / 472.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008311/0.1551, allocations: 411.1 kB / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.038e-05/0.1552, allocations: 0 / 472.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003036/0.1555, allocations: 115.7 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.1557, allocations: 75.78 kB / 472.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.156, allocations: 95.44 kB / 473 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001605/0.1562, allocations: 71.89 kB / 473 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1563, allocations: 24.16 kB / 473.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.79e-05/0.1563, allocations: 35.84 kB / 473.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.1565, allocations: 63.81 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.76e-05/0.1565, allocations: 4 kB / 473.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.153e-05/0.1566, allocations: 43.92 kB / 473.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.515e-05/0.1566, allocations: 23.91 kB / 473.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.425e-05/0.1567, allocations: 35.73 kB / 473.3 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1569, allocations: 111.6 kB / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.247e-06/0.1569, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1569, allocations: 0 / 473.4 MB, free: 11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1569, allocations: 0 / 473.4 MB, free: 11 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.0004748/0.1574, allocations: 422.9 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.1574, allocations: 8.031 kB / 473.8 MB, free: 10.53 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.1575, allocations: 12.75 kB / 473.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002076/0.1577, allocations: 208 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.431e-05/0.1577, allocations: 4.375 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1577, allocations: 4.375 kB / 474 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001337/0.1579, allocations: 53.56 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.1579, allocations: 3.984 kB / 474.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.1579, allocations: 15.94 kB / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.1579, allocations: 0 / 474.1 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.09e-05/0.158, allocations: 23.98 kB / 474.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003691/0.1584, allocations: 296.7 kB / 474.4 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.1585, allocations: 46.55 kB / 474.4 MB, free: 9.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.668e-05/0.1586, allocations: 16.94 kB / 474.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.1586, allocations: 8 kB / 474.5 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.1587, allocations: 34.56 kB / 474.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.1587, allocations: 0 / 474.5 MB, free: 9.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008339/0.1595, allocations: 229 kB / 474.7 MB, free: 9.469 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.1596, allocations: 55.41 kB / 474.8 MB, free: 9.402 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.1598, allocations: 239.4 kB / 475 MB, free: 9.152 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.1598, allocations: 29.7 kB / 475 MB, free: 9.117 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.1599, allocations: 108.1 kB / 475.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1599, allocations: 27.55 kB / 475.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.5e-05/0.16, allocations: 21.72 kB / 475.2 MB, free: 8.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.1601, allocations: 322.8 kB / 475.5 MB, free: 8.629 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.982e-05/0.1602, allocations: 23.98 kB / 475.5 MB, free: 8.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.1602, allocations: 31.97 kB / 475.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.1604, allocations: 61.06 kB / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1604, allocations: 0 / 475.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001818/0.1606, allocations: 101.5 kB / 475.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.1606, allocations: 12 kB / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.1606, allocations: 0 / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1606, allocations: 0 / 475.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.151e-05/0.1607, allocations: 15.98 kB / 475.8 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1607, allocations: 7.938 kB / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.646e-05/0.1608, allocations: 0 / 475.8 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.1608, allocations: 4 kB / 475.8 MB, free: 8.367 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.582e-05/0.1609, allocations: 129.8 kB / 475.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.1609, allocations: 19.75 kB / 475.9 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002428/0.1612, allocations: 123 kB / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1612, allocations: 0 / 476 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1612, allocations: 7.938 kB / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1612, allocations: 0 / 476 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.1617, allocations: 407.2 kB / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1617, allocations: 0 / 476.4 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1618, allocations: 27.95 kB / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1618, allocations: 0 / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1618, allocations: 0 / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1618, allocations: 0 / 476.5 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.1618, allocations: 7.984 kB / 476.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002227/0.162, allocations: 208.2 kB / 476.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.389e-05/0.1621, allocations: 92.84 kB / 476.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1621, allocations: 8 kB / 476.8 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.959e-05/0.1622, allocations: 4 kB / 476.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.704e-05/0.1622, allocations: 3.984 kB / 476.8 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.1622, allocations: 8 kB / 476.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000138/0.1624, allocations: 183.5 kB / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1624, allocations: 0 / 477 MB, free: 7.055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1626, allocations: 24 kB / 477 MB, free: 7.031 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 (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.0009837/0.1636, allocations: 461.2 kB / 477.4 MB, free: 6.758 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002042/0.1639, allocations: 67.95 kB / 477.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1639, allocations: 0 / 477.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.964e-05/0.1639, allocations: 39.91 kB / 477.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.1643, allocations: 23.59 kB / 477.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.1647, allocations: 274.8 kB / 477.8 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.165, allocations: 0.7197 MB / 478.6 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.519e-05/0.1651, allocations: 4.672 kB / 478.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.1651, allocations: 15.44 kB / 478.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1651, allocations: 0 / 478.6 MB, free: 5.566 MB / 350.1 MB Notification: Performance of Templates: time 0.003753/0.1689, allocations: 1.336 MB / 479.9 MB, free: 4.234 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","/var/lib/jenkins1/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