Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.001343/0.001343, allocations: 115.6 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.001534/0.001534, 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2617/0.2617, allocations: 44.91 MB / 358.8 MB, free: 6.273 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.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54",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.002075/0.002075, allocations: 76.11 kB / 0.4932 GB, free: 10.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4261, allocations: 65.47 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003742/0.4298, allocations: 1.742 MB / 0.5588 GB, free: 5.984 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.4319, allocations: 1.052 MB / 0.5598 GB, free: 4.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.987e-05/0.432, allocations: 3.938 kB / 0.5598 GB, free: 4.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.4324, allocations: 51.75 kB / 0.5599 GB, free: 4.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.4328, allocations: 95.59 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.4331, allocations: 83.66 kB / 0.56 GB, free: 4.699 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002119/0.4333, allocations: 103.7 kB / 0.5601 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.4334, allocations: 9.812 kB / 0.5602 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.4335, allocations: 51.66 kB / 0.5602 GB, free: 4.539 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.4336, allocations: 31.86 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.4337, allocations: 4 kB / 0.5602 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4338, allocations: 43.98 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.262e-05/0.4338, allocations: 27.89 kB / 0.5603 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.53e-05/0.4339, allocations: 43.62 kB / 0.5604 GB, free: 4.391 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.4342, allocations: 127.4 kB / 0.5605 GB, free: 4.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.4342, allocations: 3.984 kB / 0.5605 GB, free: 4.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.4342, allocations: 0 / 0.5605 GB, free: 4.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.165e-06/0.4342, allocations: 0 / 0.5605 GB, free: 4.262 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.0006452/0.4348, allocations: 365.4 kB / 0.5608 GB, free: 3.875 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.4349, allocations: 8.031 kB / 0.5608 GB, free: 3.867 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.556e-05/0.4349, allocations: 34.75 kB / 0.5609 GB, free: 3.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.435, allocations: 12.89 kB / 0.5609 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003947/0.4354, allocations: 163 kB / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.4354, allocations: 384 / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.535e-05/0.4354, allocations: 15.86 kB / 0.561 GB, free: 3.609 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.4356, allocations: 53.67 kB / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.4356, allocations: 0 / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4356, allocations: 0 / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4356, allocations: 0 / 0.5611 GB, free: 3.551 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.057e-05/0.4357, allocations: 23.98 kB / 0.5611 GB, free: 3.527 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004366/0.4361, allocations: 263.9 kB / 0.5614 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4363, allocations: 58.61 kB / 0.5614 GB, free: 3.16 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.746e-05/0.4364, allocations: 16.86 kB / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.565e-05/0.4364, allocations: 0 / 0.5614 GB, free: 3.141 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.4366, allocations: 67.39 kB / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.4366, allocations: 0 / 0.5615 GB, free: 3.062 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006222/0.4372, allocations: 193.2 kB / 0.5617 GB, free: 2.867 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.4373, allocations: 51.41 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.4375, allocations: 242.9 kB / 0.562 GB, free: 2.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.4376, allocations: 25.7 kB / 0.562 GB, free: 2.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.4377, allocations: 116.1 kB / 0.5621 GB, free: 2.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.584e-05/0.4377, allocations: 31.72 kB / 0.5621 GB, free: 2.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-05/0.4377, allocations: 25.72 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4379, allocations: 326.8 kB / 0.5625 GB, free: 2.016 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.438, allocations: 20 kB / 0.5625 GB, free: 1.996 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.15e-05/0.438, allocations: 37.64 kB / 0.5625 GB, free: 1.953 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001243/0.4382, allocations: 61.7 kB / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4382, allocations: 0 / 0.5626 GB, free: 1.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001958/0.4384, allocations: 105.5 kB / 0.5627 GB, free: 1.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.4384, allocations: 4 kB / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4384, allocations: 384 / 0.5627 GB, free: 1.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.4384, allocations: 3.984 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4385, allocations: 16 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4385, allocations: 7.938 kB / 0.5627 GB, free: 1.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.4386, allocations: 3.938 kB / 0.5627 GB, free: 1.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.4386, allocations: 12.03 kB / 0.5627 GB, free: 1.73 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.0001413/0.4387, allocations: 125.8 kB / 0.5629 GB, free: 1.598 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.4388, allocations: 15.91 kB / 0.5629 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.439, allocations: 119.2 kB / 0.563 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.439, allocations: 4 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.4391, allocations: 3.938 kB / 0.563 GB, free: 1.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4391, allocations: 11.86 kB / 0.563 GB, free: 1.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.4396, allocations: 366.5 kB / 0.5634 GB, free: 1.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4396, allocations: 4 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.15e-05/0.4396, allocations: 11.94 kB / 0.5634 GB, free: 1.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4396, allocations: 3.938 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.4396, allocations: 3.984 kB / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4396, allocations: 0 / 0.5634 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.4396, allocations: 4 kB / 0.5634 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.4399, allocations: 204.3 kB / 0.5636 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.4399, allocations: 11.91 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.44, allocations: 3.938 kB / 0.5636 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.44, allocations: 7.984 kB / 0.5636 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.4401, allocations: 11.94 kB / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.4401, allocations: 0 / 0.5636 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.4403, allocations: 175.2 kB / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4403, allocations: 0 / 0.5638 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002988/0.4406, allocations: 31.92 kB / 0.5638 GB, free: 0.5391 MB / 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.002296/0.4429, allocations: 1.089 MB / 0.5649 GB, free: 15.61 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000225/0.4431, allocations: 55.91 kB / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4431, allocations: 0 / 0.5649 GB, free: 15.55 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.677e-05/0.4432, allocations: 23.94 kB / 0.5649 GB, free: 15.53 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.4436, allocations: 46.05 kB / 0.565 GB, free: 15.49 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002385/0.4459, allocations: 1.754 MB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4464, allocations: 0.7158 MB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.33e-05/0.4465, allocations: 16.98 kB / 0.5674 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.47e-05/0.4466, allocations: 43.41 kB / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4466, allocations: 0 / 0.5675 GB, free: 12.84 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03069/0.4773, allocations: 3.793 MB / 0.5712 GB, free: 9.117 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.37, allocations: 4 kB / 0.5712 GB, free: 9.113 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000499301 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test54_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.79756920300133]