Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001268/0.001268, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001442/0.001442, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.988 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.2385/0.2385, allocations: 44.91 MB / 358.8 MB, free: 6.262 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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test41,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41",fmuType="me",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.00237/0.00237, allocations: 67.91 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3874, allocations: 65.48 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.003466/0.3909, allocations: 1.748 MB / 0.5588 GB, free: 5.965 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.3927, allocations: 1.053 MB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.3928, allocations: 0 / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.3931, allocations: 83.64 kB / 0.5599 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000337/0.3935, allocations: 119.6 kB / 0.56 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002031/0.3937, allocations: 79.67 kB / 0.5601 GB, free: 4.629 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000202/0.3939, allocations: 115.7 kB / 0.5602 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.394, allocations: 9.812 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.3941, allocations: 63.7 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3942, allocations: 59.8 kB / 0.5603 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3942, allocations: 4 kB / 0.5603 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.3943, allocations: 43.98 kB / 0.5604 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.069e-05/0.3944, allocations: 23.92 kB / 0.5604 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7e-05/0.3945, allocations: 51.61 kB / 0.5604 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.3947, allocations: 119.5 kB / 0.5606 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3947, allocations: 0 / 0.5606 GB, free: 4.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3947, allocations: 0 / 0.5606 GB, free: 4.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3947, allocations: 0 / 0.5606 GB, free: 4.148 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.0006363/0.3954, allocations: 357.5 kB / 0.5609 GB, free: 3.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3954, allocations: 12.03 kB / 0.5609 GB, free: 3.758 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.267e-05/0.3955, allocations: 30.75 kB / 0.5609 GB, free: 3.719 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.3955, allocations: 12.84 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.3958, allocations: 170.7 kB / 0.5611 GB, free: 3.516 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.3958, allocations: 4.375 kB / 0.5611 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.647e-05/0.3959, allocations: 11.92 kB / 0.5611 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.396, allocations: 57.67 kB / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.396, allocations: 0 / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.717e-06/0.396, allocations: 0 / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.396, allocations: 0 / 0.5612 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.631e-05/0.3961, allocations: 19.98 kB / 0.5612 GB, free: 3.418 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.3965, allocations: 268 kB / 0.5615 GB, free: 3.113 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.3967, allocations: 54.61 kB / 0.5615 GB, free: 3.051 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.498e-05/0.3967, allocations: 16.86 kB / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3967, allocations: 0 / 0.5615 GB, free: 3.031 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3969, allocations: 71.39 kB / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.3969, allocations: 0 / 0.5616 GB, free: 2.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000577/0.3975, allocations: 177.3 kB / 0.5618 GB, free: 2.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.3975, allocations: 51.41 kB / 0.5618 GB, free: 2.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.3978, allocations: 231.4 kB / 0.562 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3978, allocations: 29.64 kB / 0.5621 GB, free: 2.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.95e-05/0.3979, allocations: 112.1 kB / 0.5622 GB, free: 2.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.3979, allocations: 27.73 kB / 0.5622 GB, free: 2.285 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.398, allocations: 25.7 kB / 0.5622 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3981, allocations: 326.8 kB / 0.5625 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.3982, allocations: 19.98 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.3983, allocations: 33.7 kB / 0.5626 GB, free: 1.867 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.3984, allocations: 61.7 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3984, allocations: 4 kB / 0.5627 GB, free: 1.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001988/0.3986, allocations: 109.5 kB / 0.5628 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.3986, allocations: 4 kB / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3986, allocations: 0 / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.899e-05/0.3986, allocations: 0 / 0.5628 GB, free: 1.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.769e-05/0.3987, allocations: 19.98 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3987, allocations: 3.938 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.584e-05/0.3988, allocations: 3.938 kB / 0.5628 GB, free: 1.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.3988, allocations: 4 kB / 0.5628 GB, free: 1.648 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.0001256/0.3989, allocations: 140.9 kB / 0.5629 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.3989, allocations: 11.91 kB / 0.5629 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.3992, allocations: 119.4 kB / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3992, allocations: 0 / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3992, allocations: 0 / 0.5631 GB, free: 1.363 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3992, allocations: 7.875 kB / 0.5631 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004698/0.3997, allocations: 366.5 kB / 0.5634 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.3997, allocations: 4.031 kB / 0.5634 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.3997, allocations: 15.92 kB / 0.5634 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3997, allocations: 3.938 kB / 0.5634 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.3997, allocations: 4 kB / 0.5634 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3997, allocations: 0 / 0.5634 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3997, allocations: 320 / 0.5634 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.4, allocations: 208.3 kB / 0.5636 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.4, allocations: 11.95 kB / 0.5636 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.757e-05/0.4, allocations: 7.938 kB / 0.5637 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.091e-05/0.4001, allocations: 7.984 kB / 0.5637 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.4001, allocations: 11.88 kB / 0.5637 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.4001, allocations: 7.984 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001561/0.4003, allocations: 165.4 kB / 0.5638 GB, free: 500 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4003, allocations: 0 / 0.5638 GB, free: 500 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.4006, allocations: 31.83 kB / 0.5639 GB, free: 468 kB / 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 (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.002205/0.4028, allocations: 1.082 MB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.403, allocations: 51.92 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.403, allocations: 4 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.403, allocations: 27.92 kB / 0.565 GB, free: 15.45 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.4034, allocations: 41.88 kB / 0.565 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.4054, allocations: 1.716 MB / 0.5667 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/0.4058, allocations: 0.7118 MB / 0.5674 GB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.549e-05/0.4058, allocations: 17.27 kB / 0.5674 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.4059, allocations: 39.42 kB / 0.5675 GB, free: 12.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.2e-07/0.4059, allocations: 4 kB / 0.5675 GB, free: 12.81 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.4349, allocations: 3.735 MB / 0.5711 GB, free: 9.141 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.48, allocations: 3.984 kB / 0.5711 GB, free: 9.137 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41_fmu --startTime=0 --stopTime=100 --stepSize=0.0197433 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test41.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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: 14.621860913932323]