Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.001337/0.001337, allocations: 115.9 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.001446/0.001446, allocations: 213.4 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2349/0.2349, allocations: 44.9 MB / 358.8 MB, free: 6.281 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6",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.002111/0.002111, allocations: 71.89 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4446, allocations: 65.47 MB / 0.5571 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.004217/0.4488, allocations: 1.749 MB / 0.5588 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.4509, allocations: 1.045 MB / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-05/0.451, allocations: 0 / 0.5598 GB, free: 4.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003869/0.4514, allocations: 63.73 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.4518, allocations: 99.55 kB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.452, allocations: 75.72 kB / 0.56 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002127/0.4522, allocations: 103.6 kB / 0.5601 GB, free: 4.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.4523, allocations: 17.8 kB / 0.5602 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.4524, allocations: 47.8 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.063e-05/0.4525, allocations: 27.8 kB / 0.5602 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.412e-05/0.4526, allocations: 7.938 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.4527, allocations: 47.91 kB / 0.5603 GB, free: 4.465 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.076e-05/0.4527, allocations: 31.91 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.4528, allocations: 47.62 kB / 0.5604 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002646/0.4531, allocations: 135.4 kB / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4531, allocations: 0 / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4531, allocations: 0 / 0.5605 GB, free: 4.254 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.4531, allocations: 0 / 0.5605 GB, free: 4.254 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.0006781/0.4538, allocations: 385.3 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.4538, allocations: 12.03 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.4539, allocations: 38.62 kB / 0.5609 GB, free: 3.789 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.4539, allocations: 20.84 kB / 0.5609 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.4542, allocations: 171 kB / 0.5611 GB, free: 3.578 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.4543, allocations: 4.375 kB / 0.5611 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.503e-05/0.4543, allocations: 7.938 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.4544, allocations: 49.67 kB / 0.5612 GB, free: 3.512 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.4545, allocations: 8 kB / 0.5612 GB, free: 3.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4545, allocations: 4 kB / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4545, allocations: 0 / 0.5612 GB, free: 3.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.77e-05/0.4546, allocations: 23.92 kB / 0.5612 GB, free: 3.477 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.455, allocations: 268 kB / 0.5614 GB, free: 3.172 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.4552, allocations: 46.69 kB / 0.5615 GB, free: 3.117 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.552e-05/0.4552, allocations: 24.84 kB / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.4552, allocations: 0 / 0.5615 GB, free: 3.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001747/0.4554, allocations: 71.33 kB / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.4554, allocations: 0 / 0.5616 GB, free: 3.008 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000707/0.4561, allocations: 193.2 kB / 0.5618 GB, free: 2.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.909e-05/0.4562, allocations: 51.41 kB / 0.5618 GB, free: 2.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003365/0.4565, allocations: 283.1 kB / 0.5621 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.4565, allocations: 33.69 kB / 0.5621 GB, free: 2.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.487e-05/0.4566, allocations: 116.1 kB / 0.5622 GB, free: 2.305 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.315e-05/0.4567, allocations: 27.78 kB / 0.5622 GB, free: 2.277 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.874e-05/0.4567, allocations: 29.7 kB / 0.5623 GB, free: 2.242 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.4569, allocations: 326.8 kB / 0.5626 GB, free: 1.914 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.082e-05/0.457, allocations: 19.98 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-05/0.457, allocations: 41.64 kB / 0.5626 GB, free: 1.848 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001181/0.4571, allocations: 61.66 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4572, allocations: 0 / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.4573, allocations: 105.5 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.4574, allocations: 4 kB / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4574, allocations: 0 / 0.5628 GB, free: 1.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4574, allocations: 4 kB / 0.5628 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.4575, allocations: 23.95 kB / 0.5628 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.4575, allocations: 0 / 0.5628 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.368e-05/0.4576, allocations: 16.25 kB / 0.5629 GB, free: 1.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-06/0.4576, allocations: 0 / 0.5629 GB, free: 1.625 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.0001508/0.4577, allocations: 137.8 kB / 0.563 GB, free: 1.48 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.4577, allocations: 11.91 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.4581, allocations: 127.1 kB / 0.5631 GB, free: 1.328 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.4581, allocations: 7.984 kB / 0.5631 GB, free: 1.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.4581, allocations: 4 kB / 0.5631 GB, free: 1.316 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.4581, allocations: 7.938 kB / 0.5631 GB, free: 1.309 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005279/0.4586, allocations: 374.4 kB / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.4586, allocations: 0 / 0.5635 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.724e-05/0.4587, allocations: 11.98 kB / 0.5635 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.4587, allocations: 3.938 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4587, allocations: 0 / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.4587, allocations: 4 kB / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4587, allocations: 0 / 0.5635 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002788/0.459, allocations: 212.2 kB / 0.5637 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.459, allocations: 15.86 kB / 0.5637 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.459, allocations: 7.938 kB / 0.5637 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.245e-05/0.4591, allocations: 3.984 kB / 0.5637 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.4591, allocations: 8 kB / 0.5637 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.4592, allocations: 7.984 kB / 0.5638 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002265/0.4594, allocations: 216.6 kB / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4594, allocations: 0 / 0.564 GB, free: 400 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.4597, allocations: 27.92 kB / 0.564 GB, free: 372 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.002412/0.4621, allocations: 1.093 MB / 0.5651 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4623, allocations: 55.95 kB / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4623, allocations: 0 / 0.5651 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.4624, allocations: 32.05 kB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.4628, allocations: 34.11 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.4652, allocations: 1.863 MB / 0.567 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.4655, allocations: 0.7236 MB / 0.5677 GB, free: 12.61 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.275e-05/0.4656, allocations: 16.91 kB / 0.5677 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.4657, allocations: 43.42 kB / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.4657, allocations: 0 / 0.5678 GB, free: 12.55 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03228/0.498, allocations: 4.032 MB / 0.5717 GB, free: 8.582 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.51, allocations: 3.938 kB / 0.5717 GB, free: 8.578 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00049781 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test6_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.75148641299893]