Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.001472/0.001472, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00227/0.00227, allocations: 216.6 kB / 23.73 MB, free: 4.156 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.579/1.579, allocations: 230.6 MB / 257.5 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.274/0.274, allocations: 44.93 MB / 358.8 MB, free: 6.062 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.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.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [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.002326/0.002326, allocations: 63.91 kB / 0.4936 GB, free: 9.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.405, allocations: 65.49 MB / 0.5575 GB, free: 7.461 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.00383/0.4088, allocations: 1.706 MB / 0.5592 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001913/0.4107, allocations: 0.9701 MB / 0.5601 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.537e-05/0.4108, allocations: 3.938 kB / 0.5601 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.4111, allocations: 39.83 kB / 0.5602 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003404/0.4115, allocations: 107.5 kB / 0.5603 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.4116, allocations: 79.61 kB / 0.5604 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002187/0.4119, allocations: 103.7 kB / 0.5605 GB, free: 4.438 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.412, allocations: 4 kB / 0.5605 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.625e-05/0.4121, allocations: 43.8 kB / 0.5605 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.822e-05/0.4122, allocations: 39.77 kB / 0.5605 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.4122, allocations: 4 kB / 0.5605 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.4123, allocations: 43.92 kB / 0.5606 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.976e-05/0.4124, allocations: 19.92 kB / 0.5606 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.4124, allocations: 27.8 kB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.4127, allocations: 133.8 kB / 0.5608 GB, free: 4.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.4127, allocations: 8 kB / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.4127, allocations: 0 / 0.5608 GB, free: 4.125 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4127, allocations: 0 / 0.5608 GB, free: 4.125 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.0007201/0.4134, allocations: 353.5 kB / 0.5611 GB, free: 3.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.4134, allocations: 8.031 kB / 0.5611 GB, free: 3.742 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.319e-05/0.4135, allocations: 8.891 kB / 0.5611 GB, free: 3.734 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.4139, allocations: 154.3 kB / 0.5613 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.711e-05/0.4139, allocations: 4.375 kB / 0.5613 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.278e-05/0.4139, allocations: 8.125 kB / 0.5613 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.4141, allocations: 61.67 kB / 0.5613 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.4141, allocations: 4 kB / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.4141, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.4141, allocations: 0 / 0.5613 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.4142, allocations: 19.98 kB / 0.5614 GB, free: 3.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004711/0.4147, allocations: 240.4 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002135/0.4149, allocations: 62.66 kB / 0.5616 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/0.415, allocations: 24.78 kB / 0.5617 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.415, allocations: 0 / 0.5617 GB, free: 3.094 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001791/0.4152, allocations: 75.33 kB / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.4152, allocations: 0 / 0.5617 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000662/0.4158, allocations: 177.3 kB / 0.5619 GB, free: 2.828 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.4159, allocations: 51.41 kB / 0.562 GB, free: 2.766 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.4162, allocations: 230.6 kB / 0.5622 GB, free: 2.527 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.4162, allocations: 29.64 kB / 0.5622 GB, free: 2.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.4163, allocations: 108.1 kB / 0.5623 GB, free: 2.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.685e-05/0.4163, allocations: 23.84 kB / 0.5623 GB, free: 2.359 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.4164, allocations: 25.7 kB / 0.5624 GB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4165, allocations: 330.8 kB / 0.5627 GB, free: 1.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.275e-05/0.4166, allocations: 27.98 kB / 0.5627 GB, free: 1.969 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.836e-05/0.4167, allocations: 37.7 kB / 0.5627 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001204/0.4168, allocations: 57.64 kB / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.4168, allocations: 0 / 0.5628 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002049/0.417, allocations: 101.6 kB / 0.5629 GB, free: 1.758 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.417, allocations: 8 kB / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.417, allocations: 0 / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.4171, allocations: 0 / 0.5629 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4172, allocations: 23.95 kB / 0.5629 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.4172, allocations: 4 kB / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.323e-05/0.4172, allocations: 0 / 0.5629 GB, free: 1.723 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.4172, allocations: 8 kB / 0.5629 GB, free: 1.715 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.0001265/0.4174, allocations: 129.8 kB / 0.5631 GB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.446e-05/0.4174, allocations: 11.91 kB / 0.5631 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002947/0.4177, allocations: 123 kB / 0.5632 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4177, allocations: 4 kB / 0.5632 GB, free: 1.43 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4177, allocations: 4.359 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4177, allocations: 0 / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/0.4182, allocations: 358.9 kB / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4182, allocations: 0 / 0.5635 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.4182, allocations: 11.98 kB / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.4182, allocations: 0 / 0.5635 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4182, allocations: 4 kB / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4182, allocations: 0 / 0.5635 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4182, allocations: 11.81 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.4185, allocations: 220.7 kB / 0.5638 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.907e-05/0.4185, allocations: 11.89 kB / 0.5638 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.352e-05/0.4186, allocations: 4.031 kB / 0.5638 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.324e-05/0.4186, allocations: 4 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4187, allocations: 15.92 kB / 0.5638 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.4187, allocations: 4 kB / 0.5638 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4188, allocations: 155.2 kB / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4188, allocations: 0 / 0.564 GB, free: 0.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002625/0.4191, allocations: 23.98 kB / 0.564 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.001913/0.421, allocations: 497.9 kB / 0.5645 GB, free: 288 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4212, allocations: 59.91 kB / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4212, allocations: 0 / 0.5645 GB, free: 228 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.098e-05/0.4213, allocations: 31.92 kB / 0.5645 GB, free: 196 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4217, allocations: 28.86 kB / 0.5646 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.4222, allocations: 254.9 kB / 0.5648 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.4223, allocations: 96.73 kB / 0.5649 GB, free: 15.78 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.22e-05/0.4223, allocations: 17.28 kB / 0.5649 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.211e-05/0.4224, allocations: 23.36 kB / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4224, allocations: 0 / 0.5649 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.005675/0.428, allocations: 1.914 MB / 0.5668 GB, free: 13.85 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.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.4985355250537395]