Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00138/0.00138, allocations: 117.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 200.6 kB / 18.73 MB, free: 4.328 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.535/1.535, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2583/0.2583, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.88 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4362/0.4375, allocations: 62.44 MB / 0.5311 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003672/0.4412, allocations: 1.73 MB / 0.5328 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.443, allocations: 1.03 MB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.227e-05/0.4431, allocations: 1.375 kB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003584/0.4434, allocations: 39.67 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000346/0.4438, allocations: 95.44 kB / 0.5339 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.4441, allocations: 75.58 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.4443, allocations: 117.1 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.4444, allocations: 7.094 kB / 0.5341 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4446, allocations: 44.31 kB / 0.5341 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.112e-05/0.4447, allocations: 38.16 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.4447, allocations: 3.312 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.4448, allocations: 39.73 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.423e-05/0.4449, allocations: 19.86 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.023e-05/0.4449, allocations: 36.8 kB / 0.5343 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002901/0.4452, allocations: 132.4 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4453, allocations: 3.984 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.4453, allocations: 1.094 kB / 0.5344 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.151e-06/0.4453, allocations: 0 / 0.5344 GB, free: 11.27 MB / 398.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.0005261/0.4458, allocations: 413.8 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.4459, allocations: 9.938 kB / 0.5348 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.4459, allocations: 18.09 kB / 0.5348 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000271/0.4462, allocations: 212.6 kB / 0.535 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4462, allocations: 5.812 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.348e-05/0.4462, allocations: 10.78 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.4464, allocations: 50.05 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4464, allocations: 3.938 kB / 0.5351 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.4464, allocations: 5.375 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.4464, allocations: 0 / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.016e-05/0.4465, allocations: 18.98 kB / 0.5351 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.4469, allocations: 286.9 kB / 0.5354 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/0.447, allocations: 65.86 kB / 0.5354 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.074e-05/0.4471, allocations: 18.48 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.966e-05/0.4471, allocations: 5.359 kB / 0.5355 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001895/0.4473, allocations: 65.14 kB / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.126e-06/0.4473, allocations: 0 / 0.5355 GB, free: 10.1 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005422/0.4479, allocations: 181.8 kB / 0.5357 GB, free: 9.988 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.4479, allocations: 56.64 kB / 0.5358 GB, free: 9.922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.4482, allocations: 208.9 kB / 0.536 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/0.4482, allocations: 26.73 kB / 0.536 GB, free: 9.742 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.4482, allocations: 105.7 kB / 0.5361 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.4483, allocations: 18.75 kB / 0.5361 GB, free: 9.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.401e-05/0.4483, allocations: 29.23 kB / 0.5361 GB, free: 9.598 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.4485, allocations: 330.1 kB / 0.5364 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.15e-05/0.4485, allocations: 22.86 kB / 0.5365 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.4486, allocations: 35.72 kB / 0.5365 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001735/0.4488, allocations: 63.06 kB / 0.5366 GB, free: 9.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4488, allocations: 0 / 0.5366 GB, free: 9.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000278/0.4491, allocations: 108.5 kB / 0.5367 GB, free: 9.117 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.4491, allocations: 10.94 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.4491, allocations: 1.375 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4492, allocations: 1.375 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.4492, allocations: 11.97 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4493, allocations: 1.031 kB / 0.5367 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4493, allocations: 14.19 kB / 0.5367 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.4493, allocations: 6.625 kB / 0.5367 GB, free: 9.098 MB / 398.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.663e-05/0.4494, allocations: 121.1 kB / 0.5368 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.4495, allocations: 16.98 kB / 0.5368 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.822e-05/0.4495, allocations: 19.03 kB / 0.5369 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.4495, allocations: 5.219 kB / 0.5369 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.4495, allocations: 1.25 kB / 0.5369 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.4495, allocations: 3.938 kB / 0.5369 GB, free: 8.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004292/0.45, allocations: 403.7 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.45, allocations: 0 / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.175e-05/0.45, allocations: 8.188 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.45, allocations: 1.125 kB / 0.5373 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.4501, allocations: 9.031 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4501, allocations: 1.094 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.4501, allocations: 1.5 kB / 0.5373 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.4503, allocations: 204.5 kB / 0.5375 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.727e-05/0.4504, allocations: 88.39 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/0.4504, allocations: 5.094 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.4505, allocations: 10.28 kB / 0.5376 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.4505, allocations: 11.61 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-05/0.4505, allocations: 3.281 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4507, allocations: 158.8 kB / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4507, allocations: 0 / 0.5377 GB, free: 8.137 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002656/0.451, allocations: 20.72 kB / 0.5378 GB, free: 8.133 MB / 398.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.001223/0.4522, allocations: 464.8 kB / 0.5382 GB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.4524, allocations: 58.55 kB / 0.5383 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4524, allocations: 0 / 0.5383 GB, free: 7.871 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.4526, allocations: 33.88 kB / 0.5383 GB, free: 7.855 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.4529, allocations: 31.81 kB / 0.5383 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000463/0.4534, allocations: 238.3 kB / 0.5385 GB, free: 7.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.4537, allocations: 0.7105 MB / 0.5392 GB, free: 6.938 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.636e-05/0.4538, allocations: 15.09 kB / 0.5392 GB, free: 6.926 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.4538, allocations: 15.5 kB / 0.5393 GB, free: 6.922 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4539, allocations: 4 kB / 0.5393 GB, free: 6.918 MB / 398.1 MB Notification: Performance of Templates: time 0.004635/0.4585, allocations: 1.748 MB / 0.541 GB, free: 6.035 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches