Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 99.66 kB / 21.18 MB, free: 0.5273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002044/0.002044, allocations: 215.6 kB / 24.48 MB, free: 3.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2211/0.2211, allocations: 44.94 MB / 359.6 MB, free: 6.148 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 67.89 kB / 0.4943 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3929, allocations: 65.47 MB / 0.5583 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.003787/0.3967, allocations: 1.718 MB / 0.5599 GB, free: 5.73 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3986, allocations: 0.9637 MB / 0.5609 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.237e-05/0.3986, allocations: 3.938 kB / 0.5609 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3989, allocations: 51.75 kB / 0.5609 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003306/0.3993, allocations: 91.59 kB / 0.561 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002028/0.3995, allocations: 75.69 kB / 0.5611 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.3997, allocations: 111.7 kB / 0.5612 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.3998, allocations: 4 kB / 0.5612 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.3999, allocations: 47.72 kB / 0.5612 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.3999, allocations: 31.8 kB / 0.5613 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.231e-05/0.4, allocations: 7.984 kB / 0.5613 GB, free: 4.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.4001, allocations: 39.98 kB / 0.5613 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.4001, allocations: 27.92 kB / 0.5613 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.4002, allocations: 31.73 kB / 0.5614 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4004, allocations: 122 kB / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4004, allocations: 0 / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4004, allocations: 0 / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.477e-06/0.4004, allocations: 0 / 0.5615 GB, free: 4.133 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.0005848/0.401, allocations: 357.4 kB / 0.5618 GB, free: 3.754 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.401, allocations: 12.03 kB / 0.5618 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.4011, allocations: 8.891 kB / 0.5619 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002916/0.4014, allocations: 154.3 kB / 0.562 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.4014, allocations: 8.312 kB / 0.562 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4014, allocations: 8.125 kB / 0.562 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001646/0.4016, allocations: 57.66 kB / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.4016, allocations: 0 / 0.5621 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.4016, allocations: 4 kB / 0.5621 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.4016, allocations: 0 / 0.5621 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.744e-05/0.4017, allocations: 27.92 kB / 0.5621 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003907/0.4021, allocations: 240.5 kB / 0.5623 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.4023, allocations: 54.67 kB / 0.5624 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.606e-05/0.4023, allocations: 20.86 kB / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.4023, allocations: 0 / 0.5624 GB, free: 3.098 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.4025, allocations: 75.31 kB / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.4025, allocations: 0 / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005933/0.4031, allocations: 181.3 kB / 0.5626 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.4032, allocations: 51.41 kB / 0.5627 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.4034, allocations: 222.6 kB / 0.5629 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.4034, allocations: 29.7 kB / 0.5629 GB, free: 2.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.261e-05/0.4035, allocations: 108.1 kB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.462e-05/0.4035, allocations: 27.84 kB / 0.5631 GB, free: 2.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.557e-05/0.4036, allocations: 21.72 kB / 0.5631 GB, free: 2.336 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.4038, allocations: 330.8 kB / 0.5634 GB, free: 2.004 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.318e-05/0.4038, allocations: 19.98 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.396e-05/0.4039, allocations: 37.64 kB / 0.5635 GB, free: 1.941 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.404, allocations: 69.7 kB / 0.5635 GB, free: 1.867 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.404, allocations: 0 / 0.5635 GB, free: 1.867 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.4042, allocations: 109.6 kB / 0.5636 GB, free: 1.754 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4043, allocations: 10.69 kB / 0.5636 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.4043, allocations: 4 kB / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4043, allocations: 0 / 0.5636 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.4044, allocations: 16.31 kB / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.4044, allocations: 0 / 0.5637 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.939e-05/0.4044, allocations: 7.984 kB / 0.5637 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.4045, allocations: 8 kB / 0.5637 GB, free: 1.711 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.0001255/0.4046, allocations: 128.5 kB / 0.5638 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.4046, allocations: 19.89 kB / 0.5638 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.4049, allocations: 123 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4049, allocations: 3.938 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4049, allocations: 0 / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.4049, allocations: 4 kB / 0.5639 GB, free: 1.418 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000518/0.4054, allocations: 354.9 kB / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.4054, allocations: 0 / 0.5643 GB, free: 1.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.097e-05/0.4055, allocations: 12 kB / 0.5643 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4055, allocations: 3.984 kB / 0.5643 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.4055, allocations: 3.938 kB / 0.5643 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4055, allocations: 4 kB / 0.5643 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.4055, allocations: 7.969 kB / 0.5643 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002791/0.4058, allocations: 216.2 kB / 0.5645 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.211e-05/0.4058, allocations: 11.95 kB / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.4058, allocations: 0 / 0.5645 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.489e-05/0.4059, allocations: 7.984 kB / 0.5645 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.4059, allocations: 3.938 kB / 0.5645 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.77e-05/0.4059, allocations: 8 kB / 0.5645 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.4061, allocations: 159.6 kB / 0.5647 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4061, allocations: 0 / 0.5647 GB, free: 0.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.4064, allocations: 24 kB / 0.5647 GB, free: 0.5586 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 (9): * Single equations (assignments): 7 * 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.001843/0.4082, allocations: 498.5 kB / 0.5652 GB, free: 284 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.4084, allocations: 59.89 kB / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.4084, allocations: 0 / 0.5653 GB, free: 224 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.386e-05/0.4085, allocations: 39.98 kB / 0.5653 GB, free: 184 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.4089, allocations: 24.05 kB / 0.5653 GB, free: 164 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006125/0.4095, allocations: 280.5 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001086/0.4096, allocations: 92.75 kB / 0.5657 GB, free: 15.74 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.281e-05/0.4096, allocations: 15.44 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4096, allocations: 0 / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004574/0.4142, allocations: 2.026 MB / 0.5677 GB, free: 13.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test44.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: 7.9987420830875635]