Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001177/0.001177, allocations: 207.3 kB / 17.99 MB, free: 3.773 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00099/0.0009898, allocations: 110.1 kB / 296.7 MB, free: 6.5 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3868/0.3868, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3582/0.3593, allocations: 62.02 MB / 0.5152 GB, free: 37.93 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003466/0.3628, allocations: 1.796 MB / 0.5169 GB, free: 36.67 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.3644, allocations: 1.028 MB / 0.5179 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.892e-05/0.3645, allocations: 3.938 kB / 0.5179 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003226/0.3648, allocations: 47.42 kB / 0.518 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.3651, allocations: 90.77 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00031/0.3655, allocations: 90.66 kB / 0.5181 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.3656, allocations: 105.2 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.3657, allocations: 5.688 kB / 0.5182 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.299e-05/0.3658, allocations: 51.12 kB / 0.5183 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.58e-05/0.3659, allocations: 39.25 kB / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.72e-05/0.3659, allocations: 3.188 kB / 0.5183 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001119/0.3661, allocations: 45.52 kB / 0.5184 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.803e-05/0.3661, allocations: 25.91 kB / 0.5184 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.3662, allocations: 44.28 kB / 0.5184 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.3664, allocations: 129.3 kB / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3664, allocations: 3.938 kB / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.3664, allocations: 0 / 0.5186 GB, free: 35.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.3664, allocations: 0 / 0.5186 GB, free: 35.67 MB / 378.7 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.0004962/0.3669, allocations: 449.6 kB / 0.519 GB, free: 35.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.367, allocations: 8.938 kB / 0.519 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.367, allocations: 14.62 kB / 0.519 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3672, allocations: 222.5 kB / 0.5192 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.3672, allocations: 4.375 kB / 0.5192 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.3673, allocations: 10.66 kB / 0.5193 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001343/0.3674, allocations: 55.55 kB / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3674, allocations: 2.719 kB / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.3674, allocations: 0 / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.3675, allocations: 0 / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.093e-05/0.3675, allocations: 22.73 kB / 0.5193 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003299/0.3679, allocations: 299.9 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.368, allocations: 63.7 kB / 0.5197 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.7e-05/0.3681, allocations: 21.34 kB / 0.5197 GB, free: 34.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.3681, allocations: 6.844 kB / 0.5197 GB, free: 34.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.3683, allocations: 63.94 kB / 0.5198 GB, free: 34.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3683, allocations: 0 / 0.5198 GB, free: 34.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004968/0.3688, allocations: 183.2 kB / 0.5199 GB, free: 34.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.3689, allocations: 58.25 kB / 0.52 GB, free: 34.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002218/0.3691, allocations: 269.2 kB / 0.5203 GB, free: 34.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3691, allocations: 28.55 kB / 0.5203 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.3692, allocations: 121.1 kB / 0.5204 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.702e-05/0.3692, allocations: 28.8 kB / 0.5204 GB, free: 34.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.3692, allocations: 19.59 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.3693, allocations: 336.3 kB / 0.5208 GB, free: 33.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.3693, allocations: 19.25 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.3694, allocations: 36.17 kB / 0.5208 GB, free: 33.69 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.483e-05/0.3695, allocations: 58.5 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.3695, allocations: 0 / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001642/0.3697, allocations: 109 kB / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.3697, allocations: 5.281 kB / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3697, allocations: 0 / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3697, allocations: 2.844 kB / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.3698, allocations: 18.25 kB / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.3698, allocations: 3.094 kB / 0.521 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.691e-05/0.3699, allocations: 7.969 kB / 0.521 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.3699, allocations: 5.156 kB / 0.521 GB, free: 33.58 MB / 378.7 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 8.216e-05/0.37, allocations: 139.3 kB / 0.5211 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.37, allocations: 15.62 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.11e-05/0.3701, allocations: 17.44 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.3701, allocations: 0 / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3701, allocations: 3.422 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3701, allocations: 6.344 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003571/0.3705, allocations: 405.7 kB / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3705, allocations: 3.281 kB / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.089e-05/0.3705, allocations: 8.688 kB / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3705, allocations: 0 / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3705, allocations: 6.875 kB / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.3705, allocations: 0 / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.3706, allocations: 0 / 0.5216 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003846/0.3709, allocations: 0.8036 MB / 0.5224 GB, free: 32.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.371, allocations: 93.89 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.371, allocations: 0 / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.661e-05/0.3711, allocations: 2.938 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3711, allocations: 10.34 kB / 0.5225 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.735e-05/0.3712, allocations: 13.62 kB / 0.5225 GB, free: 32.19 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001446/0.3713, allocations: 205.6 kB / 0.5227 GB, free: 32.08 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3713, allocations: 192 / 0.5227 GB, free: 32.08 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000352/0.3717, allocations: 24.5 kB / 0.5227 GB, free: 32.07 MB / 378.7 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.0009216/0.3726, allocations: 476.1 kB / 0.5232 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001639/0.3728, allocations: 61.08 kB / 0.5232 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3728, allocations: 0 / 0.5232 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.3729, allocations: 28.22 kB / 0.5233 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.3732, allocations: 31.33 kB / 0.5233 GB, free: 31.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.3737, allocations: 444 kB / 0.5237 GB, free: 31.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001492/0.3739, allocations: 0.7253 MB / 0.5244 GB, free: 30.74 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.93e-05/0.3739, allocations: 19.78 kB / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.374, allocations: 13.12 kB / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.374, allocations: 0 / 0.5244 GB, free: 30.73 MB / 378.7 MB Notification: Performance of Templates: time 0.004133/0.3781, allocations: 1.735 MB / 0.5261 GB, free: 30.53 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches