Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.001896/0.001896, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.002171/0.002171, allocations: 216.3 kB / 24.52 MB, free: 3.91 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 7.797 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.2271/0.2271, allocations: 44.94 MB / 359.6 MB, free: 6.051 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="cs",version="2.0",platforms={"static"}) [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.001935/0.001935, allocations: 67.89 kB / 0.4939 GB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3622, allocations: 65.47 MB / 0.5578 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003435/0.3656, allocations: 1.724 MB / 0.5595 GB, free: 5.766 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.3675, allocations: 0.9715 MB / 0.5604 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.3676, allocations: 0 / 0.5604 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.3679, allocations: 91.67 kB / 0.5605 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.3683, allocations: 123.5 kB / 0.5606 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.3685, allocations: 83.66 kB / 0.5607 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.3687, allocations: 123.7 kB / 0.5608 GB, free: 4.375 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.3688, allocations: 13.81 kB / 0.5608 GB, free: 4.363 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3689, allocations: 59.75 kB / 0.5609 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.369, allocations: 75.73 kB / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.975e-05/0.3691, allocations: 7.938 kB / 0.561 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.3692, allocations: 59.98 kB / 0.561 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.3693, allocations: 23.91 kB / 0.5611 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.3693, allocations: 39.73 kB / 0.5611 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.3696, allocations: 139.4 kB / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3696, allocations: 0 / 0.5612 GB, free: 3.965 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3696, allocations: 4 kB / 0.5612 GB, free: 3.961 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.3696, allocations: 0 / 0.5612 GB, free: 3.961 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006417/0.3703, allocations: 383.7 kB / 0.5616 GB, free: 3.559 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.3703, allocations: 12.03 kB / 0.5616 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.312e-05/0.3703, allocations: 192 / 0.5616 GB, free: 3.547 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.637e-05/0.3703, allocations: 34.75 kB / 0.5617 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.3704, allocations: 16.84 kB / 0.5617 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003024/0.3707, allocations: 159 kB / 0.5618 GB, free: 3.305 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.3707, allocations: 12.12 kB / 0.5618 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.3707, allocations: 0 / 0.5618 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.3709, allocations: 69.64 kB / 0.5619 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/0.3709, allocations: 0 / 0.5619 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.3709, allocations: 0 / 0.5619 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3709, allocations: 7.938 kB / 0.5619 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.371, allocations: 23.98 kB / 0.5619 GB, free: 3.188 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004158/0.3714, allocations: 267.9 kB / 0.5622 GB, free: 2.883 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002638/0.3717, allocations: 58.53 kB / 0.5622 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.3718, allocations: 32.84 kB / 0.5623 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3718, allocations: 4 kB / 0.5623 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.372, allocations: 71.39 kB / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.372, allocations: 0 / 0.5623 GB, free: 2.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008162/0.3728, allocations: 261.2 kB / 0.5626 GB, free: 2.434 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.3728, allocations: 55.41 kB / 0.5626 GB, free: 2.367 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.3731, allocations: 243 kB / 0.5629 GB, free: 2.117 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.3731, allocations: 25.7 kB / 0.5629 GB, free: 2.086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.3732, allocations: 116.1 kB / 0.563 GB, free: 1.969 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.369e-05/0.3732, allocations: 31.73 kB / 0.563 GB, free: 1.938 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/0.3733, allocations: 25.72 kB / 0.5631 GB, free: 1.906 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001618/0.3734, allocations: 334.8 kB / 0.5634 GB, free: 1.57 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.039e-05/0.3735, allocations: 23.98 kB / 0.5634 GB, free: 1.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.722e-05/0.3736, allocations: 53.62 kB / 0.5635 GB, free: 1.488 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3738, allocations: 73.72 kB / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.3738, allocations: 0 / 0.5635 GB, free: 1.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002481/0.374, allocations: 137.5 kB / 0.5637 GB, free: 1.27 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.374, allocations: 7.984 kB / 0.5637 GB, free: 1.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.374, allocations: 4 kB / 0.5637 GB, free: 1.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.3741, allocations: 7.969 kB / 0.5637 GB, free: 1.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.273e-05/0.3741, allocations: 16 kB / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.3741, allocations: 0 / 0.5637 GB, free: 1.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.3742, allocations: 11.98 kB / 0.5637 GB, free: 1.223 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3742, allocations: 4 kB / 0.5637 GB, free: 1.219 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 (13): * Single equations (assignments): 13 * 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.000126/0.3743, allocations: 133.8 kB / 0.5638 GB, free: 1.078 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.763e-05/0.3744, allocations: 15.91 kB / 0.5639 GB, free: 1.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003263/0.3747, allocations: 159.1 kB / 0.564 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3747, allocations: 7.938 kB / 0.564 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3747, allocations: 4 kB / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.3747, allocations: 0 / 0.564 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000585/0.3753, allocations: 431.1 kB / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3753, allocations: 0 / 0.5644 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.3753, allocations: 15.94 kB / 0.5644 GB, free: 400 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.3754, allocations: 4 kB / 0.5644 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.3754, allocations: 3.984 kB / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3754, allocations: 0 / 0.5645 GB, free: 392 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.3754, allocations: 4 kB / 0.5645 GB, free: 388 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003175/0.3757, allocations: 245.1 kB / 0.5647 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.984e-05/0.3757, allocations: 19.89 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.3757, allocations: 4 kB / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.512e-05/0.3758, allocations: 0 / 0.5647 GB, free: 96 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.3759, allocations: 15.92 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.3759, allocations: 12 kB / 0.5647 GB, free: 68 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3761, allocations: 175.2 kB / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3761, allocations: 0 / 0.5649 GB, free: 15.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.3764, allocations: 35.92 kB / 0.5649 GB, free: 15.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.002727/0.3791, allocations: 1.221 MB / 0.5661 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002389/0.3793, allocations: 79.91 kB / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3793, allocations: 0 / 0.5662 GB, free: 14.78 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.3794, allocations: 39.91 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.3798, allocations: 43.03 kB / 0.5663 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.3821, allocations: 1.858 MB / 0.5681 GB, free: 12.75 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.3823, allocations: 105.7 kB / 0.5682 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.691e-05/0.3823, allocations: 20.62 kB / 0.5682 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.661e-05/0.3824, allocations: 47.41 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3824, allocations: 4 kB / 0.5683 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02465/0.4071, allocations: 4.312 MB / 0.5725 GB, free: 8.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.41/11.82, allocations: 10.28 kB / 0.5725 GB, free: 8.305 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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: 15.012462991988286]