Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.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.001335/0.001335, allocations: 113.2 kB / 20.43 MB, free: 1.449 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.001627/0.001627, allocations: 212.7 kB / 23.74 MB, free: 4.656 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.452/1.452, 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.2231/0.2231, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48",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.001981/0.001981, allocations: 67.91 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3126, allocations: 65.46 MB / 0.5571 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.00328/0.3159, allocations: 1.753 MB / 0.5588 GB, free: 5.961 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.3177, allocations: 1.045 MB / 0.5598 GB, free: 4.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.937e-05/0.3177, allocations: 3.938 kB / 0.5598 GB, free: 4.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002985/0.318, allocations: 55.75 kB / 0.5599 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003314/0.3184, allocations: 103.5 kB / 0.56 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002095/0.3186, allocations: 83.61 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.3187, allocations: 103.7 kB / 0.5602 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.3188, allocations: 5.828 kB / 0.5602 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.687e-05/0.3189, allocations: 51.73 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.749e-05/0.319, allocations: 39.77 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.319, allocations: 4 kB / 0.5602 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.415e-05/0.3191, allocations: 39.98 kB / 0.5603 GB, free: 4.43 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.267e-05/0.3192, allocations: 31.86 kB / 0.5603 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.3192, allocations: 43.66 kB / 0.5604 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002359/0.3195, allocations: 139.4 kB / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3195, allocations: 0 / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3195, allocations: 0 / 0.5605 GB, free: 4.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.3195, allocations: 0 / 0.5605 GB, free: 4.219 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.3201, allocations: 385.2 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.3202, allocations: 12.03 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.121e-05/0.3202, allocations: 30.75 kB / 0.5609 GB, free: 3.762 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.657e-05/0.3203, allocations: 16.84 kB / 0.5609 GB, free: 3.746 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3206, allocations: 163.2 kB / 0.5611 GB, free: 3.559 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.3206, allocations: 4.375 kB / 0.5611 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.3206, allocations: 3.938 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.3208, allocations: 57.61 kB / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.3208, allocations: 0 / 0.5611 GB, free: 3.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3208, allocations: 8 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.3208, allocations: 0 / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.3209, allocations: 15.98 kB / 0.5612 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004252/0.3213, allocations: 271.9 kB / 0.5614 GB, free: 3.156 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.3215, allocations: 58.62 kB / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.3216, allocations: 24.84 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.3216, allocations: 0 / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001842/0.3218, allocations: 67.39 kB / 0.5616 GB, free: 2.984 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3218, allocations: 0 / 0.5616 GB, free: 2.984 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005945/0.3224, allocations: 185.3 kB / 0.5617 GB, free: 2.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.3224, allocations: 51.41 kB / 0.5618 GB, free: 2.734 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003304/0.3228, allocations: 283.7 kB / 0.5621 GB, free: 2.445 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.3228, allocations: 25.7 kB / 0.5621 GB, free: 2.414 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.3229, allocations: 120.1 kB / 0.5622 GB, free: 2.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.3229, allocations: 27.78 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.317e-05/0.323, allocations: 17.72 kB / 0.5622 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3231, allocations: 334.8 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.624e-05/0.3232, allocations: 12 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.258e-05/0.3232, allocations: 49.58 kB / 0.5626 GB, free: 1.84 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.3234, allocations: 57.7 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3234, allocations: 0 / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000188/0.3236, allocations: 105.5 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.3236, allocations: 8 kB / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3236, allocations: 0 / 0.5628 GB, free: 1.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.2e-05/0.3236, allocations: 3.938 kB / 0.5628 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.538e-05/0.3237, allocations: 19.98 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3237, allocations: 8.031 kB / 0.5628 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.3238, allocations: 3.938 kB / 0.5628 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3238, allocations: 4 kB / 0.5628 GB, free: 1.621 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.0001314/0.3239, allocations: 140.7 kB / 0.563 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.522e-05/0.3239, allocations: 15.89 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002661/0.3242, allocations: 123 kB / 0.5631 GB, free: 1.324 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.3242, allocations: 4 kB / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3242, allocations: 0 / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3242, allocations: 7.938 kB / 0.5631 GB, free: 1.312 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004945/0.3247, allocations: 378.6 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3247, allocations: 0 / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.198e-05/0.3247, allocations: 8 kB / 0.5635 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.3248, allocations: 7.938 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3248, allocations: 3.938 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3248, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.3248, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002431/0.325, allocations: 208.3 kB / 0.5637 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.578e-05/0.325, allocations: 15.89 kB / 0.5637 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.3251, allocations: 4.312 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.027e-05/0.3251, allocations: 4 kB / 0.5637 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.132e-05/0.3252, allocations: 11.98 kB / 0.5637 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.3252, allocations: 8 kB / 0.5637 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001774/0.3254, allocations: 200.6 kB / 0.5639 GB, free: 420 kB / 398.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3254, allocations: 0 / 0.5639 GB, free: 420 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.3256, allocations: 31.92 kB / 0.5639 GB, free: 388 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.002258/0.3279, allocations: 1.099 MB / 0.565 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.3281, allocations: 63.89 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3281, allocations: 0 / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.3282, allocations: 27.92 kB / 0.5651 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.3285, allocations: 28.11 kB / 0.5651 GB, free: 15.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/0.3307, allocations: 1.824 MB / 0.5669 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.3311, allocations: 0.7197 MB / 0.5676 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.362e-05/0.3311, allocations: 12.98 kB / 0.5676 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.546e-05/0.3312, allocations: 43.41 kB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3312, allocations: 0 / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.029/0.3602, allocations: 3.982 MB / 0.5716 GB, free: 8.699 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.62, allocations: 3.938 kB / 0.5716 GB, free: 8.695 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498902 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.740078643000743]