Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009027/0.0009027, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001369/0.002272, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001185/0.001185, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001443/0.002628, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.039/1.039, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09555/1.135, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2622/0.2622, allocations: 34.26 MB / 278.4 MB, free: 15.28 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02355/0.2858, allocations: 13.1 MB / 291.5 MB, free: 7.332 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 292.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.807e-05, allocations: 4.562 kB / 292.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.003146/0.003174, allocations: 1.807 MB / 294.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.004853, allocations: 1.023 MB / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.524e-05/0.004939, allocations: 0 / 295.8 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002371/0.005176, allocations: 51.58 kB / 295.8 MB, free: 3.215 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003013/0.005477, allocations: 99.47 kB / 295.9 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002338/0.005711, allocations: 75.56 kB / 296 MB, free: 3.043 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.005911, allocations: 111.6 kB / 296.1 MB, free: 2.934 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.992e-05/0.006001, allocations: 11.98 kB / 296.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001793/0.006181, allocations: 79.81 kB / 296.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.028e-05/0.006271, allocations: 27.91 kB / 296.2 MB, free: 2.816 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.974e-05/0.006291, allocations: 4 kB / 296.2 MB, free: 2.812 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.006399, allocations: 47.86 kB / 296.3 MB, free: 2.766 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.215e-05/0.006451, allocations: 19.94 kB / 296.3 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.966e-05/0.00649, allocations: 15.94 kB / 296.3 MB, free: 2.73 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.006694, allocations: 95.59 kB / 296.4 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.327e-05/0.006707, allocations: 4 kB / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.006708, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.799e-06/0.006718, allocations: 0 / 296.4 MB, free: 2.633 MB / 282.7 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.0005076/0.007225, allocations: 337 kB / 296.7 MB, free: 2.281 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.007259, allocations: 16.03 kB / 296.7 MB, free: 2.266 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.097e-05/0.0073, allocations: 12.86 kB / 296.7 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.007494, allocations: 150.6 kB / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.00751, allocations: 384 / 296.9 MB, free: 2.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.00753, allocations: 4.375 kB / 296.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.007654, allocations: 61.77 kB / 297 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.007665, allocations: 3.938 kB / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.007673, allocations: 0 / 297 MB, free: 2.004 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.00768, allocations: 4 kB / 297 MB, free: 2 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.977e-05/0.00771, allocations: 7.984 kB / 297 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.007962, allocations: 177.9 kB / 297.1 MB, free: 1.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001186/0.00808, allocations: 89.27 kB / 297.2 MB, free: 1.703 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.008105, allocations: 12.8 kB / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.008115, allocations: 0 / 297.2 MB, free: 1.688 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001212/0.008236, allocations: 70.11 kB / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.008238, allocations: 0 / 297.3 MB, free: 1.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003838/0.008622, allocations: 117.6 kB / 297.4 MB, free: 1.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/0.008654, allocations: 55.39 kB / 297.5 MB, free: 1.418 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.008812, allocations: 184.7 kB / 297.7 MB, free: 1.223 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.00883, allocations: 25.7 kB / 297.7 MB, free: 1.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.352e-05/0.008874, allocations: 104.1 kB / 297.8 MB, free: 1.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.008906, allocations: 23.75 kB / 297.8 MB, free: 1.062 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.352e-05/0.008949, allocations: 25.69 kB / 297.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.009044, allocations: 322.8 kB / 298.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.828e-05/0.009073, allocations: 10.83 kB / 298.2 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.009105, allocations: 25.69 kB / 298.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.914e-05/0.009164, allocations: 40.52 kB / 298.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.009166, allocations: 4 kB / 298.2 MB, free: 0.6133 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001116/0.009278, allocations: 80.44 kB / 298.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.009292, allocations: 4 kB / 298.3 MB, free: 0.5234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.009296, allocations: 4 kB / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.009309, allocations: 0 / 298.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.653e-05/0.009406, allocations: 23.92 kB / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.009409, allocations: 0 / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.983e-05/0.009449, allocations: 0 / 298.3 MB, free: 0.4961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.009459, allocations: 8 kB / 298.4 MB, free: 500 kB / 282.7 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.783e-05/0.009537, allocations: 116.7 kB / 298.5 MB, free: 372 kB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.032e-05/0.009558, allocations: 11.97 kB / 298.5 MB, free: 360 kB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.009708, allocations: 79.06 kB / 298.6 MB, free: 272 kB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.009711, allocations: 4 kB / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.009712, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.009715, allocations: 0 / 298.6 MB, free: 268 kB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002349/0.00995, allocations: 299.5 kB / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.009952, allocations: 0 / 298.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.208e-05/0.009984, allocations: 11.98 kB / 298.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.009995, allocations: 11.91 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.009997, allocations: 4 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.01, allocations: 4.031 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.01001, allocations: 3.938 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.01001, allocations: 4 kB / 298.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.01011, allocations: 218.9 kB / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.01012, allocations: 0 / 299.1 MB, free: 15.67 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.942e-05/0.01016, allocations: 4 kB / 299.1 MB, free: 15.66 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.01019, allocations: 11.98 kB / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.0102, allocations: 384 / 299.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.476e-05/0.01024, allocations: 56.7 kB / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01024, allocations: 0 / 299.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001371/0.01038, allocations: 23.94 kB / 299.2 MB, free: 15.57 MB / 298.7 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.001297/0.01168, allocations: 0.6537 MB / 299.9 MB, free: 15.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.244e-05/0.01177, allocations: 48.83 kB / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.263e-06/0.01178, allocations: 0 / 299.9 MB, free: 15.22 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.064e-05/0.01182, allocations: 40.7 kB / 299.9 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01204, allocations: 176.4 kB / 300.1 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004428/0.01249, allocations: 231.6 kB / 300.3 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.01253, allocations: 71.33 kB / 300.4 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.799e-05/0.01256, allocations: 17.16 kB / 300.4 MB, free: 14.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.629e-05/0.01263, allocations: 67.38 kB / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01263, allocations: 0 / 300.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of Templates: time 0.00347/0.0161, allocations: 2.049 MB / 302.5 MB, free: 12.53 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.0415646666660905]