Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001132/0.001132, allocations: 118.2 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001267/0.001268, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 75.88 kB / 481.4 MB, free: 4.016 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.409, allocations: 62.44 MB / 0.5311 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003779/0.4129, allocations: 1.833 MB / 0.5328 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.4164, allocations: 1.687 MB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.4166, allocations: 5.312 kB / 0.5345 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004498/0.4171, allocations: 62.8 kB / 0.5346 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005894/0.4177, allocations: 133.8 kB / 0.5347 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.4181, allocations: 105.8 kB / 0.5348 GB, free: 10.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.4185, allocations: 203.1 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.472e-05/0.4186, allocations: 15.02 kB / 0.535 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002311/0.4189, allocations: 88.42 kB / 0.5351 GB, free: 10.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.4192, allocations: 80.59 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.842e-05/0.4192, allocations: 13.59 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.4195, allocations: 114 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.688e-05/0.4196, allocations: 44.92 kB / 0.5353 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.005e-05/0.4197, allocations: 62.45 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003468/0.42, allocations: 225.2 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.42, allocations: 0 / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.42, allocations: 0 / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.42, allocations: 0 / 0.5356 GB, free: 10.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007402/0.4208, allocations: 0.4912 MB / 0.5361 GB, free: 9.824 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.4209, allocations: 13.09 kB / 0.5361 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.421, allocations: 20.56 kB / 0.5361 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.4214, allocations: 251.2 kB / 0.5363 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.4214, allocations: 5.438 kB / 0.5364 GB, free: 9.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.4214, allocations: 7.656 kB / 0.5364 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.4217, allocations: 103.9 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4217, allocations: 4 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.4217, allocations: 1.156 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.4217, allocations: 1.156 kB / 0.5365 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4219, allocations: 28.14 kB / 0.5365 GB, free: 9.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.4222, allocations: 217.8 kB / 0.5367 GB, free: 9.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.4225, allocations: 109.4 kB / 0.5368 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4226, allocations: 45.34 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.938e-05/0.4226, allocations: 2.156 kB / 0.5368 GB, free: 9.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002706/0.4229, allocations: 111.9 kB / 0.537 GB, free: 8.969 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.4229, allocations: 0 / 0.537 GB, free: 8.969 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005446/0.4235, allocations: 164.3 kB / 0.5371 GB, free: 8.879 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.4236, allocations: 130 kB / 0.5372 GB, free: 8.723 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.4239, allocations: 239.4 kB / 0.5375 GB, free: 8.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.424, allocations: 27.83 kB / 0.5375 GB, free: 8.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.4241, allocations: 119.4 kB / 0.5376 GB, free: 8.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.4241, allocations: 28.84 kB / 0.5376 GB, free: 8.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.581e-05/0.4242, allocations: 30.64 kB / 0.5377 GB, free: 8.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.4244, allocations: 332.3 kB / 0.538 GB, free: 8.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.751e-05/0.4245, allocations: 26.55 kB / 0.538 GB, free: 8.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4246, allocations: 70.34 kB / 0.5381 GB, free: 7.949 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.4248, allocations: 90.55 kB / 0.5382 GB, free: 7.883 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.4248, allocations: 5 kB / 0.5382 GB, free: 7.879 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000305/0.4251, allocations: 145.1 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.4251, allocations: 5.562 kB / 0.5383 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.4252, allocations: 5.031 kB / 0.5383 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.4252, allocations: 6.281 kB / 0.5383 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.4253, allocations: 21.7 kB / 0.5383 GB, free: 7.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.4254, allocations: 4.938 kB / 0.5383 GB, free: 7.773 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.19e-05/0.4254, allocations: 8.969 kB / 0.5383 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/0.4255, allocations: 8.094 kB / 0.5384 GB, free: 7.766 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001644/0.4256, allocations: 136.5 kB / 0.5385 GB, free: 7.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.674e-05/0.4257, allocations: 20.84 kB / 0.5385 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.4258, allocations: 19.98 kB / 0.5385 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4258, allocations: 5.188 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4258, allocations: 1.156 kB / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4258, allocations: 0 / 0.5385 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.426, allocations: 228 kB / 0.5387 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.426, allocations: 1.281 kB / 0.5388 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.694e-05/0.4261, allocations: 10.17 kB / 0.5388 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.4261, allocations: 0.9688 kB / 0.5388 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4261, allocations: 2.062 kB / 0.5388 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.4261, allocations: 9 kB / 0.5388 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4261, allocations: 1.125 kB / 0.5388 GB, free: 7.344 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.4265, allocations: 174.6 kB / 0.5389 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.509e-05/0.4266, allocations: 98.44 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.476e-05/0.4266, allocations: 2.125 kB / 0.539 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.4267, allocations: 11.02 kB / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.52e-05/0.4268, allocations: 4.156 kB / 0.539 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.4268, allocations: 8.484 kB / 0.5391 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002267/0.427, allocations: 183.2 kB / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.427, allocations: 0 / 0.5392 GB, free: 6.965 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003195/0.4274, allocations: 57.34 kB / 0.5393 GB, free: 6.945 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001372/0.4287, allocations: 494.3 kB / 0.5398 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003017/0.429, allocations: 83.48 kB / 0.5398 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4291, allocations: 0 / 0.5398 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000114/0.4292, allocations: 39.11 kB / 0.5399 GB, free: 6.645 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004107/0.4296, allocations: 65.05 kB / 0.5399 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007082/0.4303, allocations: 288.8 kB / 0.5402 GB, free: 6.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004347/0.4308, allocations: 0.7139 MB / 0.5409 GB, free: 5.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001216/0.4309, allocations: 48.12 kB / 0.541 GB, free: 5.648 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.998e-05/0.431, allocations: 30.2 kB / 0.541 GB, free: 5.633 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.431, allocations: 0 / 0.541 GB, free: 5.633 MB / 398.1 MB Notification: Performance of Templates: time 0.008009/0.439, allocations: 3.124 MB / 0.544 GB, free: 4.047 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches