Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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.00134/0.00134, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.00146/0.00146, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.484/1.484, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.2236/0.2236, allocations: 44.91 MB / 359.6 MB, free: 6.266 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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84") [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.002035/0.002035, allocations: 69.61 kB / 0.4944 GB, free: 10.13 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4065, allocations: 65.46 MB / 0.5583 GB, free: 7.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003592/0.4101, allocations: 1.749 MB / 0.56 GB, free: 5.93 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.4131, allocations: 1.739 MB / 0.5617 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.608e-05/0.4132, allocations: 3.938 kB / 0.5617 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.4135, allocations: 39.77 kB / 0.5618 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.4139, allocations: 99.53 kB / 0.5619 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.4141, allocations: 75.69 kB / 0.5619 GB, free: 3.969 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.4143, allocations: 107.7 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.4144, allocations: 7.984 kB / 0.562 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4145, allocations: 55.67 kB / 0.5621 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.4147, allocations: 51.77 kB / 0.5621 GB, free: 3.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.4147, allocations: 4 kB / 0.5621 GB, free: 3.746 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002095/0.415, allocations: 111.9 kB / 0.5622 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.415, allocations: 23.86 kB / 0.5623 GB, free: 3.613 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.4151, allocations: 31.8 kB / 0.5623 GB, free: 3.582 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003312/0.4154, allocations: 169.8 kB / 0.5625 GB, free: 3.422 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.4154, allocations: 3.938 kB / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.4154, allocations: 0 / 0.5625 GB, free: 3.418 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.4154, allocations: 0 / 0.5625 GB, free: 3.418 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.0006696/0.4161, allocations: 353.5 kB / 0.5628 GB, free: 3.043 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.4161, allocations: 8.031 kB / 0.5628 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.455e-05/0.4162, allocations: 12.84 kB / 0.5628 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.4165, allocations: 156.7 kB / 0.563 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4165, allocations: 11.94 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4165, allocations: 0 / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.4167, allocations: 71.38 kB / 0.5631 GB, free: 2.754 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.4167, allocations: 4 kB / 0.5631 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4168, allocations: 3.938 kB / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.4168, allocations: 0 / 0.5631 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.234e-05/0.4168, allocations: 19.98 kB / 0.5631 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.4173, allocations: 259.9 kB / 0.5633 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001799/0.4175, allocations: 58.67 kB / 0.5634 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.21e-05/0.4175, allocations: 12.86 kB / 0.5634 GB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.4175, allocations: 4 kB / 0.5634 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.4177, allocations: 71.31 kB / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.562e-06/0.4177, allocations: 0 / 0.5635 GB, free: 2.262 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005713/0.4183, allocations: 169.3 kB / 0.5636 GB, free: 2.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.4184, allocations: 93.05 kB / 0.5637 GB, free: 1.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002035/0.4186, allocations: 162.1 kB / 0.5639 GB, free: 1.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.508e-05/0.4187, allocations: 25.7 kB / 0.5639 GB, free: 1.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.046e-05/0.4187, allocations: 100.1 kB / 0.564 GB, free: 1.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.954e-05/0.4188, allocations: 31.73 kB / 0.564 GB, free: 1.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.4188, allocations: 21.72 kB / 0.564 GB, free: 1.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.419, allocations: 322.8 kB / 0.5644 GB, free: 1.297 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.443e-05/0.4191, allocations: 19.98 kB / 0.5644 GB, free: 1.277 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.4192, allocations: 50.5 kB / 0.5644 GB, free: 1.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001247/0.4193, allocations: 66.02 kB / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4193, allocations: 0 / 0.5645 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002191/0.4195, allocations: 93.62 kB / 0.5646 GB, free: 1.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.4195, allocations: 4 kB / 0.5646 GB, free: 1.047 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.4195, allocations: 4 kB / 0.5646 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4195, allocations: 8.062 kB / 0.5646 GB, free: 1.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.179e-05/0.4196, allocations: 19.92 kB / 0.5646 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.4196, allocations: 3.938 kB / 0.5646 GB, free: 1.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.26e-05/0.4197, allocations: 8 kB / 0.5646 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.4197, allocations: 4 kB / 0.5646 GB, free: 1 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.0001142/0.4198, allocations: 116.7 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4198, allocations: 7.953 kB / 0.5647 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000272/0.4201, allocations: 114.3 kB / 0.5648 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.331e-06/0.4201, allocations: 8 kB / 0.5649 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.4201, allocations: 3.938 kB / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.4201, allocations: 0 / 0.5649 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.4207, allocations: 374.5 kB / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4207, allocations: 0 / 0.5652 GB, free: 328 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.4207, allocations: 15.92 kB / 0.5652 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4207, allocations: 7.984 kB / 0.5652 GB, free: 304 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.4207, allocations: 4 kB / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.4207, allocations: 0 / 0.5652 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4207, allocations: 4.031 kB / 0.5652 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.421, allocations: 200.3 kB / 0.5654 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.116e-05/0.421, allocations: 19.88 kB / 0.5655 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.623e-05/0.4211, allocations: 4 kB / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.08e-05/0.4211, allocations: 0 / 0.5655 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4212, allocations: 7.984 kB / 0.5655 GB, free: 44 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.745e-05/0.4212, allocations: 12 kB / 0.5655 GB, free: 32 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001544/0.4213, allocations: 119.2 kB / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4213, allocations: 0 / 0.5656 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003022/0.4216, allocations: 51.86 kB / 0.5656 GB, free: 15.86 MB / 414.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.002064/0.4237, allocations: 0.5499 MB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.4239, allocations: 59.92 kB / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4239, allocations: 0 / 0.5662 GB, free: 15.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.734e-05/0.424, allocations: 27.92 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.4244, allocations: 36.48 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.4249, allocations: 232.6 kB / 0.5665 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004324/0.4253, allocations: 0.6963 MB / 0.5672 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.307e-05/0.4254, allocations: 23.42 kB / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4254, allocations: 0 / 0.5672 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Templates: time 0.00528/0.4306, allocations: 2.413 MB / 0.5696 GB, free: 11.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test84.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: 8.089028585935012]