Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.001326/0.001326, 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.001723/0.001723, 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.447/1.447, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.224/0.224, allocations: 44.91 MB / 358.8 MB, free: 6.305 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.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46",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.002012/0.002012, allocations: 66.25 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3136, allocations: 65.46 MB / 0.5571 GB, free: 7.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003295/0.3169, allocations: 1.75 MB / 0.5588 GB, free: 5.883 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00175/0.3186, allocations: 1.049 MB / 0.5598 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.208e-05/0.3187, allocations: 3.938 kB / 0.5598 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.319, allocations: 51.75 kB / 0.5599 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.3193, allocations: 111.5 kB / 0.56 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3195, allocations: 83.66 kB / 0.5601 GB, free: 4.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001796/0.3197, allocations: 95.77 kB / 0.5601 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.3198, allocations: 17.75 kB / 0.5602 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3199, allocations: 51.66 kB / 0.5602 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.32, allocations: 27.86 kB / 0.5602 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.32, allocations: 4 kB / 0.5602 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3201, allocations: 43.98 kB / 0.5603 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.3202, allocations: 35.83 kB / 0.5603 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.092e-05/0.3202, allocations: 39.69 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.3204, allocations: 139.4 kB / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3204, allocations: 0 / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3205, allocations: 0 / 0.5605 GB, free: 4.137 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3205, allocations: 4 kB / 0.5605 GB, free: 4.133 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.0005528/0.321, allocations: 377.2 kB / 0.5609 GB, free: 3.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.321, allocations: 12.02 kB / 0.5609 GB, free: 3.723 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.746e-05/0.3211, allocations: 34.75 kB / 0.5609 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.635e-05/0.3211, allocations: 12.84 kB / 0.5609 GB, free: 3.668 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002865/0.3214, allocations: 163.2 kB / 0.5611 GB, free: 3.48 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3214, allocations: 4.375 kB / 0.5611 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.292e-05/0.3214, allocations: 7.938 kB / 0.5611 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3216, allocations: 57.61 kB / 0.5611 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.3216, allocations: 0 / 0.5611 GB, free: 3.406 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.3216, allocations: 3.984 kB / 0.5611 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.3216, allocations: 0 / 0.5611 GB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.47e-05/0.3217, allocations: 23.98 kB / 0.5612 GB, free: 3.379 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.3221, allocations: 271.9 kB / 0.5614 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.3222, allocations: 54.61 kB / 0.5615 GB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.221e-05/0.3223, allocations: 16.86 kB / 0.5615 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.844e-05/0.3223, allocations: 0 / 0.5615 GB, free: 2.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/0.3225, allocations: 79.36 kB / 0.5616 GB, free: 2.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.3225, allocations: 4 kB / 0.5616 GB, free: 2.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000541/0.323, allocations: 181.3 kB / 0.5617 GB, free: 2.711 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.323, allocations: 51.41 kB / 0.5618 GB, free: 2.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002735/0.3233, allocations: 283.7 kB / 0.5621 GB, free: 2.359 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.3233, allocations: 29.7 kB / 0.5621 GB, free: 2.324 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.621e-05/0.3234, allocations: 112.1 kB / 0.5622 GB, free: 2.211 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.039e-05/0.3234, allocations: 23.8 kB / 0.5622 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.3235, allocations: 25.7 kB / 0.5622 GB, free: 2.156 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3236, allocations: 330.8 kB / 0.5626 GB, free: 1.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.112e-05/0.3237, allocations: 23.98 kB / 0.5626 GB, free: 1.801 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.16e-05/0.3238, allocations: 45.58 kB / 0.5626 GB, free: 1.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001166/0.3239, allocations: 49.72 kB / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3239, allocations: 0 / 0.5627 GB, free: 1.695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002013/0.3241, allocations: 121.5 kB / 0.5628 GB, free: 1.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3241, allocations: 6.5 kB / 0.5628 GB, free: 1.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.3241, allocations: 3.938 kB / 0.5628 GB, free: 1.562 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3241, allocations: 4 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.555e-05/0.3242, allocations: 15.98 kB / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.3242, allocations: 0 / 0.5628 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.3242, allocations: 7.938 kB / 0.5628 GB, free: 1.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.3243, allocations: 0 / 0.5628 GB, free: 1.535 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.3244, allocations: 137.8 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.3244, allocations: 19.94 kB / 0.563 GB, free: 1.371 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.3246, allocations: 119.2 kB / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3246, allocations: 0 / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3246, allocations: 0 / 0.5631 GB, free: 1.238 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3246, allocations: 7.938 kB / 0.5631 GB, free: 1.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.3251, allocations: 374.4 kB / 0.5635 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3251, allocations: 0 / 0.5635 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.3251, allocations: 11.98 kB / 0.5635 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3251, allocations: 7.969 kB / 0.5635 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.3252, allocations: 4 kB / 0.5635 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.3252, allocations: 3.938 kB / 0.5635 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3252, allocations: 0 / 0.5635 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.3254, allocations: 204.3 kB / 0.5637 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.3254, allocations: 11.91 kB / 0.5637 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.3255, allocations: 12.31 kB / 0.5637 GB, free: 0.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.486e-05/0.3255, allocations: 7.984 kB / 0.5637 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.001e-05/0.3256, allocations: 0 / 0.5637 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.3256, allocations: 11.98 kB / 0.5637 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.3258, allocations: 204.6 kB / 0.5639 GB, free: 332 kB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3258, allocations: 0 / 0.5639 GB, free: 332 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002616/0.326, allocations: 19.94 kB / 0.5639 GB, free: 312 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.002192/0.3282, allocations: 1.112 MB / 0.565 GB, free: 15.35 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.3284, allocations: 59.91 kB / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.3284, allocations: 0 / 0.5651 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.949e-05/0.3285, allocations: 23.94 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.3288, allocations: 38.58 kB / 0.5651 GB, free: 15.24 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.331, allocations: 1.824 MB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003606/0.3313, allocations: 0.7197 MB / 0.5676 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.565e-05/0.3314, allocations: 12.97 kB / 0.5676 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.3315, allocations: 43.42 kB / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3315, allocations: 0 / 0.5677 GB, free: 12.53 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.3611, allocations: 3.98 MB / 0.5716 GB, free: 8.613 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.67, allocations: 11.12 kB / 0.5716 GB, free: 8.605 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498604 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test46_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.773537898996437]