Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001705/0.001705, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001928/0.001928, allocations: 206.2 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 230.2 MB / 257.8 MB, free: 8.508 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2522/0.2522, allocations: 46.89 MB / 361.1 MB, free: 4.645 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002449/0.002449, allocations: 91.84 kB / 0.4969 GB, free: 8.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4753, allocations: 65.95 MB / 0.5613 GB, free: 34.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003453/0.4788, allocations: 1.746 MB / 0.563 GB, free: 33.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.481, allocations: 1.733 MB / 0.5647 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.668e-05/0.4811, allocations: 3.938 kB / 0.5647 GB, free: 32.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.4814, allocations: 40.42 kB / 0.5647 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.4817, allocations: 96.55 kB / 0.5648 GB, free: 32.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.4819, allocations: 80.86 kB / 0.5649 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.482, allocations: 106.5 kB / 0.565 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.4822, allocations: 7 kB / 0.565 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4823, allocations: 56.25 kB / 0.565 GB, free: 31.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.4825, allocations: 45.42 kB / 0.5651 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.4825, allocations: 6.375 kB / 0.5651 GB, free: 31.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001871/0.4827, allocations: 108.8 kB / 0.5652 GB, free: 31.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.4828, allocations: 21.25 kB / 0.5652 GB, free: 31.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.506e-05/0.4828, allocations: 36.39 kB / 0.5652 GB, free: 31.81 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002928/0.4831, allocations: 167.2 kB / 0.5654 GB, free: 31.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.4831, allocations: 3.938 kB / 0.5654 GB, free: 31.74 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4831, allocations: 2.125 kB / 0.5654 GB, free: 31.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.4831, allocations: 0 / 0.5654 GB, free: 31.74 MB / 446.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.0006308/0.4837, allocations: 430.4 kB / 0.5658 GB, free: 31.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4838, allocations: 13.12 kB / 0.5658 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.4838, allocations: 16.8 kB / 0.5659 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4841, allocations: 215.6 kB / 0.5661 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.4842, allocations: 384 / 0.5661 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4842, allocations: 7.125 kB / 0.5661 GB, free: 31.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.4844, allocations: 67.3 kB / 0.5661 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4844, allocations: 0 / 0.5661 GB, free: 31.03 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/0.4844, allocations: 11.31 kB / 0.5661 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.4844, allocations: 3.625 kB / 0.5661 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.24e-05/0.4845, allocations: 20.7 kB / 0.5662 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003285/0.4848, allocations: 284.7 kB / 0.5664 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.485, allocations: 51.02 kB / 0.5665 GB, free: 30.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.485, allocations: 24.23 kB / 0.5665 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.485, allocations: 0 / 0.5665 GB, free: 30.69 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001365/0.4852, allocations: 68.72 kB / 0.5666 GB, free: 30.63 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.163e-06/0.4852, allocations: 0 / 0.5666 GB, free: 30.63 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005195/0.4857, allocations: 176.7 kB / 0.5667 GB, free: 30.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.4857, allocations: 80.14 kB / 0.5668 GB, free: 30.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.4859, allocations: 162.2 kB / 0.567 GB, free: 30.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.4859, allocations: 31.47 kB / 0.567 GB, free: 30.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.271e-05/0.4859, allocations: 100.5 kB / 0.5671 GB, free: 30.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.4859, allocations: 24.22 kB / 0.5671 GB, free: 30.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.486, allocations: 29.31 kB / 0.5671 GB, free: 30.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.486, allocations: 325 kB / 0.5675 GB, free: 29.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.842e-05/0.4861, allocations: 18.89 kB / 0.5675 GB, free: 29.83 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.979e-05/0.4862, allocations: 50.95 kB / 0.5675 GB, free: 29.79 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.4863, allocations: 58.59 kB / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.4863, allocations: 0 / 0.5676 GB, free: 29.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001607/0.4864, allocations: 96.47 kB / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.4865, allocations: 16.36 kB / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4865, allocations: 0 / 0.5677 GB, free: 29.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.4865, allocations: 3.984 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.4866, allocations: 18.34 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.4866, allocations: 0.7031 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.979e-05/0.4866, allocations: 8.25 kB / 0.5677 GB, free: 29.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.4866, allocations: 0 / 0.5677 GB, free: 29.69 MB / 446.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 7.729e-05/0.4867, allocations: 129.5 kB / 0.5678 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.4867, allocations: 10.33 kB / 0.5679 GB, free: 29.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002206/0.487, allocations: 121 kB / 0.568 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.487, allocations: 0.75 kB / 0.568 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.487, allocations: 0 / 0.568 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.487, allocations: 4.734 kB / 0.568 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003701/0.4873, allocations: 403.1 kB / 0.5684 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4873, allocations: 0 / 0.5684 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.4874, allocations: 13.73 kB / 0.5684 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.4874, allocations: 2.812 kB / 0.5684 GB, free: 29.13 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4874, allocations: 3.938 kB / 0.5684 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.4874, allocations: 2.844 kB / 0.5684 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4874, allocations: 0 / 0.5684 GB, free: 29.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.4876, allocations: 210.2 kB / 0.5686 GB, free: 28.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.441e-05/0.4876, allocations: 84.28 kB / 0.5687 GB, free: 28.86 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.679e-05/0.4876, allocations: 3.938 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.178e-05/0.4877, allocations: 6.656 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4877, allocations: 7.312 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.35e-05/0.4877, allocations: 2.906 kB / 0.5687 GB, free: 28.85 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.695e-05/0.4878, allocations: 135.2 kB / 0.5688 GB, free: 28.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4878, allocations: 0 / 0.5688 GB, free: 28.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.4881, allocations: 50.05 kB / 0.5689 GB, free: 28.73 MB / 446.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.001899/0.49, allocations: 0.5361 MB / 0.5694 GB, free: 28.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001909/0.4902, allocations: 62.28 kB / 0.5694 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4902, allocations: 0 / 0.5694 GB, free: 28.48 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 6.97e-05/0.4903, allocations: 30.7 kB / 0.5695 GB, free: 28.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.4906, allocations: 33.33 kB / 0.5695 GB, free: 28.45 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004134/0.491, allocations: 214.5 kB / 0.5697 GB, free: 28.29 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.4912, allocations: 0.7005 MB / 0.5704 GB, free: 27.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.67e-05/0.4912, allocations: 17.02 kB / 0.5704 GB, free: 27.58 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.361e-05/0.4913, allocations: 19.23 kB / 0.5704 GB, free: 27.57 MB / 446.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4913, allocations: 0 / 0.5704 GB, free: 27.57 MB / 446.1 MB Notification: Performance of Templates: time 0.005984/0.4972, allocations: 2.381 MB / 0.5727 GB, free: 27.31 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test59.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.7165047763846815]