Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001306/0.001306, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001293/0.001293, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 246.9 MB, free: 10.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2407/0.2407, allocations: 46.11 MB / 344.3 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 77.28 kB / 417.5 MB, free: 20.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1502, allocations: 62.45 MB / 479.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.004416/0.1547, allocations: 1.665 MB / 481.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.1562, allocations: 0.5495 MB / 482.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.333e-05/0.1563, allocations: 0 / 482.2 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.1567, allocations: 79.77 kB / 482.2 MB, free: 3.391 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003574/0.1571, allocations: 87.78 kB / 482.3 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004504/0.1575, allocations: 99.44 kB / 482.4 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002123/0.1578, allocations: 71.83 kB / 482.5 MB, free: 3.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.1579, allocations: 23.97 kB / 482.5 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.06e-05/0.158, allocations: 31.86 kB / 482.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.1582, allocations: 55.81 kB / 482.6 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.567e-05/0.1582, allocations: 4 kB / 482.6 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001581/0.1584, allocations: 39.98 kB / 482.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.603e-05/0.1585, allocations: 35.84 kB / 482.7 MB, free: 2.953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.61e-05/0.1585, allocations: 27.75 kB / 482.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.1587, allocations: 75.89 kB / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.1588, allocations: 0 / 482.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.1588, allocations: 4 kB / 482.8 MB, free: 2.848 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1588, allocations: 3.938 kB / 482.8 MB, free: 2.844 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.0006704/0.1595, allocations: 411.2 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.1595, allocations: 8.875 kB / 483.2 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.055e-05/0.1596, allocations: 8.844 kB / 483.2 MB, free: 2.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002672/0.1599, allocations: 204.8 kB / 483.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.1599, allocations: 4.375 kB / 483.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.1599, allocations: 384 / 483.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001925/0.1601, allocations: 65.73 kB / 483.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.1601, allocations: 0 / 483.5 MB, free: 2.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1602, allocations: 4 kB / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1602, allocations: 0 / 483.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.1603, allocations: 31.97 kB / 483.5 MB, free: 2.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.1609, allocations: 312.6 kB / 483.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001443/0.161, allocations: 46.5 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.33e-05/0.1611, allocations: 16.94 kB / 483.9 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.1612, allocations: 4 kB / 483.9 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1612, allocations: 38.56 kB / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1612, allocations: 0 / 483.9 MB, free: 1.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001238/0.1625, allocations: 237 kB / 484.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.1625, allocations: 55.41 kB / 484.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.1628, allocations: 222.8 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.091e-05/0.1629, allocations: 29.64 kB / 484.4 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.526e-05/0.163, allocations: 104.1 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.163, allocations: 39.55 kB / 484.6 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1631, allocations: 17.72 kB / 484.6 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1632, allocations: 326.8 kB / 484.9 MB, free: 496 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/0.1634, allocations: 35.97 kB / 485 MB, free: 460 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.1635, allocations: 27.98 kB / 485 MB, free: 432 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002397/0.1637, allocations: 72.81 kB / 485.1 MB, free: 356 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1637, allocations: 0 / 485.1 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003237/0.1641, allocations: 109.6 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.1641, allocations: 4 kB / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1641, allocations: 0 / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.1641, allocations: 0 / 485.2 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001401/0.1643, allocations: 27.92 kB / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1643, allocations: 0 / 485.2 MB, free: 208 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.939e-05/0.1644, allocations: 11.92 kB / 485.2 MB, free: 196 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.1644, allocations: 0 / 485.2 MB, free: 196 kB / 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 0.0001245/0.1645, allocations: 125.8 kB / 485.3 MB, free: 60 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.1646, allocations: 15.81 kB / 485.3 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.1651, allocations: 135 kB / 485.5 MB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1651, allocations: 8 kB / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.1651, allocations: 0 / 485.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1651, allocations: 7.875 kB / 485.5 MB, free: 15.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007294/0.1658, allocations: 411.7 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1659, allocations: 0 / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.166, allocations: 19.98 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.571e-06/0.166, allocations: 7.969 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.166, allocations: 0 / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.166, allocations: 4 kB / 485.9 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.166, allocations: 7.984 kB / 485.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.1664, allocations: 220.2 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.684e-05/0.1665, allocations: 88.95 kB / 486.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.1665, allocations: 8 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.1667, allocations: 7.984 kB / 486.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.1667, allocations: 4 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1667, allocations: 3.938 kB / 486.3 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001908/0.1669, allocations: 172.7 kB / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1669, allocations: 0 / 486.4 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004176/0.1674, allocations: 24 kB / 486.4 MB, free: 14.84 MB / 366.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.001514/0.1689, allocations: 446.5 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003197/0.1692, allocations: 75.89 kB / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1692, allocations: 0 / 487 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001345/0.1694, allocations: 43.97 kB / 487 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004998/0.1699, allocations: 19.92 kB / 487 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007556/0.1707, allocations: 326.4 kB / 487.3 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1711, allocations: 0.7121 MB / 488.1 MB, free: 13.33 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.1711, allocations: 15.44 kB / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.1711, allocations: 0 / 488.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of Templates: time 0.005127/0.1763, allocations: 1.805 MB / 489.9 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches