Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008768/0.0008768, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00121/0.00121, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.7 MB / 246.8 MB, free: 11.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1913/0.1913, allocations: 46.19 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002264/0.0002264, allocations: 15.98 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08925, allocations: 63.56 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001725/0.09101, allocations: 1.438 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.0924, allocations: 0.9928 MB / 485.5 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.324e-05/0.09246, allocations: 4 kB / 485.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.09269, allocations: 43.84 kB / 485.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002066/0.09291, allocations: 75.73 kB / 485.6 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000156/0.09308, allocations: 59.88 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.09323, allocations: 99.69 kB / 485.8 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.804e-05/0.09332, allocations: 15.94 kB / 485.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.499e-05/0.0934, allocations: 39.78 kB / 485.8 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.197e-05/0.09347, allocations: 35.78 kB / 485.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.0935, allocations: 4 kB / 485.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.72e-05/0.09359, allocations: 39.98 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.09365, allocations: 23.91 kB / 485.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.385e-05/0.09371, allocations: 61.39 kB / 486 MB, free: 1.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.09387, allocations: 115.8 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.09389, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.09389, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.607e-06/0.0939, allocations: 0 / 486.1 MB, free: 1.117 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004305/0.09434, allocations: 407.1 kB / 486.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.977e-05/0.09438, allocations: 8.875 kB / 486.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.273e-05/0.09441, allocations: 8.844 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.09461, allocations: 216.8 kB / 486.7 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.78e-05/0.09464, allocations: 4.375 kB / 486.7 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.054e-05/0.09466, allocations: 4.125 kB / 486.7 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.09479, allocations: 61.55 kB / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.09481, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.09483, allocations: 0 / 486.8 MB, free: 340 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.09484, allocations: 4 kB / 486.8 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.811e-05/0.09491, allocations: 19.98 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.09523, allocations: 292.9 kB / 487.1 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.09541, allocations: 58.61 kB / 487.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.864e-05/0.09546, allocations: 16.86 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.09549, allocations: 4 kB / 487.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.09564, allocations: 71.38 kB / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.532e-06/0.09565, allocations: 0 / 487.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004754/0.09613, allocations: 173.2 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.09617, allocations: 51.41 kB / 487.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001679/0.09635, allocations: 190.9 kB / 487.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.09638, allocations: 37.69 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.09643, allocations: 100.1 kB / 487.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.09647, allocations: 27.61 kB / 487.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.0965, allocations: 17.72 kB / 487.8 MB, free: 15.17 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.193e-05/0.0966, allocations: 326.8 kB / 488.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.645e-05/0.09666, allocations: 19.98 kB / 488.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.398e-05/0.09673, allocations: 41.64 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.09685, allocations: 53.72 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.09685, allocations: 0 / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001815/0.09704, allocations: 109.4 kB / 488.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.09706, allocations: 4 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.09707, allocations: 0 / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.09709, allocations: 4.188 kB / 488.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.888e-05/0.09717, allocations: 15.98 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.09718, allocations: 3.938 kB / 488.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.09724, allocations: 11.97 kB / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-06/0.09725, allocations: 0 / 488.4 MB, free: 14.57 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.042e-05/0.09735, allocations: 133.8 kB / 488.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.815e-05/0.09737, allocations: 7.906 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.09741, allocations: 13.41 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.09742, allocations: 4 kB / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09743, allocations: 0 / 488.6 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.09744, allocations: 15.84 kB / 488.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.09785, allocations: 399.6 kB / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.09787, allocations: 0 / 489 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.351e-05/0.09791, allocations: 12 kB / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.933e-06/0.09792, allocations: 0 / 489 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.09793, allocations: 7.938 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.09794, allocations: 3.984 kB / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.09795, allocations: 0 / 489 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.09816, allocations: 208.5 kB / 489.2 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.79e-05/0.09822, allocations: 92.92 kB / 489.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.09825, allocations: 3.938 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.785e-05/0.09833, allocations: 7.984 kB / 489.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-05/0.09837, allocations: 4 kB / 489.3 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.09839, allocations: 8 kB / 489.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.0985, allocations: 148.7 kB / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09851, allocations: 0 / 489.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.09878, allocations: 27.98 kB / 489.5 MB, free: 13.38 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009674/0.09975, allocations: 458.9 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001558/0.09992, allocations: 59.91 kB / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.09993, allocations: 0 / 490 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.977e-05/0.1, allocations: 35.92 kB / 490 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.1003, allocations: 30.97 kB / 490.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003788/0.1007, allocations: 250.3 kB / 490.3 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.101, allocations: 0.7043 MB / 491 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.593e-05/0.101, allocations: 17.17 kB / 491 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1011, allocations: 19.44 kB / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1011, allocations: 0 / 491.1 MB, free: 11.93 MB / 366.1 MB Notification: Performance of Templates: time 0.003851/0.1049, allocations: 1.641 MB / 492.7 MB, free: 10.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches