Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001907/0.001907, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, 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.2423/0.2423, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 76.09 kB / 481.4 MB, free: 3.945 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4524/0.4541, allocations: 62.43 MB / 0.5311 GB, free: 13.81 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004924/0.4591, allocations: 1.727 MB / 0.5328 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.4622, allocations: 1.023 MB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002199/0.4625, allocations: 5.375 kB / 0.5338 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006576/0.4632, allocations: 82.08 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006614/0.4639, allocations: 119.4 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004627/0.4644, allocations: 70.94 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.4648, allocations: 121.2 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000178/0.465, allocations: 10.81 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.4652, allocations: 61.7 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.4654, allocations: 64.62 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.4654, allocations: 2.75 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.4656, allocations: 48.19 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.4657, allocations: 20.33 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.098e-05/0.4658, allocations: 32.53 kB / 0.5344 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003768/0.4662, allocations: 130.1 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4662, allocations: 0 / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4662, allocations: 1.344 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.4662, allocations: 0 / 0.5345 GB, free: 11.2 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.0007971/0.467, allocations: 427 kB / 0.5349 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.002e-05/0.4671, allocations: 13.69 kB / 0.5349 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.4672, allocations: 13.59 kB / 0.5349 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004072/0.4676, allocations: 221.9 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.4676, allocations: 1.469 kB / 0.5351 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.036e-05/0.4676, allocations: 6.344 kB / 0.5351 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4678, allocations: 58.73 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.4679, allocations: 0 / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4679, allocations: 4 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4679, allocations: 1.25 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.434e-05/0.468, allocations: 18.3 kB / 0.5352 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004887/0.4685, allocations: 293.3 kB / 0.5355 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4687, allocations: 52.81 kB / 0.5356 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.423e-05/0.4688, allocations: 25.75 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4688, allocations: 1.156 kB / 0.5356 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.469, allocations: 69.14 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.469, allocations: 1.188 kB / 0.5356 GB, free: 10.01 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000771/0.4698, allocations: 182.5 kB / 0.5358 GB, free: 9.902 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.4699, allocations: 52.47 kB / 0.5359 GB, free: 9.84 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.4703, allocations: 226.2 kB / 0.5361 GB, free: 9.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4703, allocations: 26.89 kB / 0.5361 GB, free: 9.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.4704, allocations: 105.3 kB / 0.5362 GB, free: 9.543 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.612e-05/0.4705, allocations: 24.42 kB / 0.5362 GB, free: 9.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.605e-05/0.4706, allocations: 20.44 kB / 0.5363 GB, free: 9.504 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.4708, allocations: 334.8 kB / 0.5366 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.456e-05/0.4708, allocations: 18.66 kB / 0.5366 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.264e-05/0.4709, allocations: 47.05 kB / 0.5366 GB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.4711, allocations: 55.36 kB / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4711, allocations: 0 / 0.5367 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002807/0.4714, allocations: 112.4 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.85e-05/0.4714, allocations: 5.281 kB / 0.5368 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.4714, allocations: 5.703 kB / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.4715, allocations: 0 / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001173/0.4716, allocations: 13.19 kB / 0.5368 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.4716, allocations: 5.5 kB / 0.5368 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.4717, allocations: 9.062 kB / 0.5368 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.4717, allocations: 7.734 kB / 0.5368 GB, free: 8.996 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 0.0001475/0.4719, allocations: 128.5 kB / 0.537 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.4719, allocations: 10.47 kB / 0.537 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.237e-05/0.472, allocations: 19.73 kB / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.472, allocations: 0 / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.472, allocations: 0.9688 kB / 0.537 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.472, allocations: 7.938 kB / 0.537 GB, free: 8.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.4726, allocations: 401.3 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.4726, allocations: 0 / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.684e-05/0.4726, allocations: 7.812 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.4726, allocations: 1.281 kB / 0.5374 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.4726, allocations: 5.062 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.4727, allocations: 1.125 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4727, allocations: 0.9688 kB / 0.5374 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.473, allocations: 208.6 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.473, allocations: 88.92 kB / 0.5377 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.4731, allocations: 9.812 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.4732, allocations: 1.562 kB / 0.5377 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4732, allocations: 16.64 kB / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.4733, allocations: 2.125 kB / 0.5377 GB, free: 8.148 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001678/0.4734, allocations: 169.3 kB / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4734, allocations: 0 / 0.5379 GB, free: 8.035 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002781/0.4737, allocations: 25.45 kB / 0.5379 GB, free: 8.027 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.001419/0.4751, allocations: 468.2 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.4754, allocations: 62.12 kB / 0.5384 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4754, allocations: 0 / 0.5384 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.597e-05/0.4755, allocations: 22.41 kB / 0.5384 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003997/0.4759, allocations: 43.31 kB / 0.5385 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006701/0.4766, allocations: 251.9 kB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.477, allocations: 0.7077 MB / 0.5394 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.802e-05/0.4771, allocations: 14.72 kB / 0.5394 GB, free: 6.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.37e-05/0.4772, allocations: 18.92 kB / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4772, allocations: 0 / 0.5394 GB, free: 6.809 MB / 398.1 MB Notification: Performance of Templates: time 0.005832/0.483, allocations: 1.755 MB / 0.5411 GB, free: 5.918 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches