Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 110 kB / 21.23 MB, free: 0.6602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.001571, allocations: 186.5 kB / 24.51 MB, free: 4.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.619/1.619, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2421/0.2421, allocations: 44.92 MB / 353.5 MB, free: 11.82 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002167/0.002167, allocations: 67.88 kB / 497.8 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4674, allocations: 64.29 MB / 0.5489 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003743/0.4711, allocations: 1.738 MB / 0.5506 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.4728, allocations: 0.9078 MB / 0.5515 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.4729, allocations: 3.938 kB / 0.5515 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003012/0.4732, allocations: 43 kB / 0.5515 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.4735, allocations: 60.45 kB / 0.5516 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.4739, allocations: 111.7 kB / 0.5517 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.4741, allocations: 105 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.159e-05/0.4742, allocations: 4.203 kB / 0.5518 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000115/0.4743, allocations: 45.72 kB / 0.5518 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.089e-05/0.4744, allocations: 29.22 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.4744, allocations: 4.312 kB / 0.5518 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.4745, allocations: 46.72 kB / 0.5519 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.655e-05/0.4746, allocations: 29.48 kB / 0.5519 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.4746, allocations: 30.69 kB / 0.5519 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002561/0.4749, allocations: 121.8 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.4749, allocations: 5.125 kB / 0.5521 GB, free: 10.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.4749, allocations: 4 kB / 0.5521 GB, free: 10.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.4749, allocations: 0 / 0.5521 GB, free: 10.67 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.0006146/0.4755, allocations: 354.8 kB / 0.5524 GB, free: 10.33 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.4756, allocations: 14.05 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.62e-05/0.4756, allocations: 11.02 kB / 0.5524 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.4759, allocations: 154.1 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.092e-05/0.4759, allocations: 2.625 kB / 0.5526 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.947e-05/0.476, allocations: 10.31 kB / 0.5526 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.4761, allocations: 57.67 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4761, allocations: 0 / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.4762, allocations: 5.125 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.4762, allocations: 1.062 kB / 0.5527 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.024e-05/0.4762, allocations: 17.83 kB / 0.5527 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.4767, allocations: 259.7 kB / 0.5529 GB, free: 9.816 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.4768, allocations: 64.95 kB / 0.553 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.304e-05/0.4769, allocations: 16.23 kB / 0.553 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.4769, allocations: 1.062 kB / 0.553 GB, free: 9.754 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.4771, allocations: 69.44 kB / 0.5531 GB, free: 9.688 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.443e-06/0.4771, allocations: 0 / 0.5531 GB, free: 9.688 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005876/0.4777, allocations: 182.4 kB / 0.5532 GB, free: 9.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.01e-05/0.4777, allocations: 56.44 kB / 0.5533 GB, free: 9.512 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002466/0.478, allocations: 223.8 kB / 0.5535 GB, free: 9.352 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.478, allocations: 26.77 kB / 0.5535 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.311e-05/0.4781, allocations: 110.7 kB / 0.5536 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.4781, allocations: 27.97 kB / 0.5537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.4782, allocations: 19.72 kB / 0.5537 GB, free: 9.172 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.4783, allocations: 327 kB / 0.554 GB, free: 8.848 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.859e-05/0.4784, allocations: 26.92 kB / 0.554 GB, free: 8.832 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.549e-05/0.4785, allocations: 39.11 kB / 0.5541 GB, free: 8.801 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.4786, allocations: 59.67 kB / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4786, allocations: 384 / 0.5541 GB, free: 8.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002204/0.4788, allocations: 104.6 kB / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.4789, allocations: 5.469 kB / 0.5542 GB, free: 8.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4789, allocations: 4.031 kB / 0.5542 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.4789, allocations: 1.281 kB / 0.5542 GB, free: 8.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.479, allocations: 21.14 kB / 0.5542 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.479, allocations: 1.219 kB / 0.5542 GB, free: 8.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.415e-05/0.479, allocations: 10.34 kB / 0.5543 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.479, allocations: 2.25 kB / 0.5543 GB, free: 8.676 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.0001451/0.4792, allocations: 137.6 kB / 0.5544 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.4792, allocations: 14.97 kB / 0.5544 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.4795, allocations: 120.2 kB / 0.5545 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.4795, allocations: 1.125 kB / 0.5545 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.4795, allocations: 1.219 kB / 0.5545 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4795, allocations: 3.938 kB / 0.5545 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005002/0.48, allocations: 363.2 kB / 0.5549 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.48, allocations: 1.219 kB / 0.5549 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.4801, allocations: 15.08 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4801, allocations: 1.062 kB / 0.5549 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.4801, allocations: 10.3 kB / 0.5549 GB, free: 8.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4801, allocations: 9.094 kB / 0.5549 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4801, allocations: 0 / 0.5549 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4804, allocations: 197.6 kB / 0.5551 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.4804, allocations: 15.95 kB / 0.5551 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.571e-05/0.4804, allocations: 9.391 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.904e-05/0.4805, allocations: 1.438 kB / 0.5551 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.4805, allocations: 11.52 kB / 0.5551 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.4806, allocations: 7.406 kB / 0.5551 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001982/0.4808, allocations: 166.2 kB / 0.5553 GB, free: 7.773 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4808, allocations: 0 / 0.5553 GB, free: 7.773 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.481, allocations: 28.59 kB / 0.5553 GB, free: 7.762 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.001656/0.4827, allocations: 466.2 kB / 0.5558 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.4829, allocations: 47.23 kB / 0.5558 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4829, allocations: 1.094 kB / 0.5558 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.537e-05/0.4829, allocations: 31.33 kB / 0.5558 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4833, allocations: 37.33 kB / 0.5559 GB, free: 7.488 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005389/0.4839, allocations: 264.4 kB / 0.5561 GB, free: 7.285 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003755/0.4842, allocations: 0.7121 MB / 0.5568 GB, free: 6.57 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.552e-05/0.4843, allocations: 13.66 kB / 0.5568 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.381e-05/0.4843, allocations: 19.97 kB / 0.5569 GB, free: 6.555 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4843, allocations: 4 kB / 0.5569 GB, free: 6.551 MB / 398.1 MB Notification: Performance of Templates: time 0.005351/0.4897, allocations: 1.774 MB / 0.5586 GB, free: 5.309 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.688991094939411]