Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.001634/0.001634, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001992/0.001992, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.588/1.588, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.2518/0.2518, allocations: 44.91 MB / 358.8 MB, free: 6.285 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.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test53,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test53",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.002045/0.002045, allocations: 67.91 kB / 0.4932 GB, free: 10.66 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4189/0.4209, allocations: 65.48 MB / 0.5571 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test53): time 0.003686/0.4246, allocations: 1.747 MB / 0.5588 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.4266, allocations: 1.053 MB / 0.5598 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.387e-05/0.4266, allocations: 3.938 kB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003297/0.427, allocations: 51.77 kB / 0.5599 GB, free: 4.883 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003381/0.4273, allocations: 95.59 kB / 0.56 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.4275, allocations: 83.66 kB / 0.5601 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001975/0.4277, allocations: 103.7 kB / 0.5601 GB, free: 4.605 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.4278, allocations: 11.8 kB / 0.5602 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.428, allocations: 51.7 kB / 0.5602 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.428, allocations: 35.86 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.4281, allocations: 4 kB / 0.5602 GB, free: 4.508 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4282, allocations: 39.98 kB / 0.5603 GB, free: 4.469 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.648e-05/0.4282, allocations: 23.91 kB / 0.5603 GB, free: 4.445 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.178e-05/0.4283, allocations: 43.61 kB / 0.5604 GB, free: 4.402 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.4285, allocations: 129.5 kB / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.4285, allocations: 0 / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4285, allocations: 0 / 0.5605 GB, free: 4.277 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4286, allocations: 0 / 0.5605 GB, free: 4.277 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.0006226/0.4292, allocations: 361.4 kB / 0.5608 GB, free: 3.895 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.4292, allocations: 12.03 kB / 0.5608 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.317e-05/0.4293, allocations: 38.73 kB / 0.5609 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.788e-05/0.4293, allocations: 8.891 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.4296, allocations: 163 kB / 0.561 GB, free: 3.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.733e-05/0.4296, allocations: 4.375 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.656e-05/0.4297, allocations: 11.88 kB / 0.561 GB, free: 3.625 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.4298, allocations: 53.67 kB / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.4298, allocations: 0 / 0.5611 GB, free: 3.566 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.437e-06/0.4299, allocations: 4 kB / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.4299, allocations: 0 / 0.5611 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.4299, allocations: 19.98 kB / 0.5611 GB, free: 3.543 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.4303, allocations: 267.9 kB / 0.5614 GB, free: 3.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.4305, allocations: 54.62 kB / 0.5614 GB, free: 3.176 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.696e-05/0.4306, allocations: 20.84 kB / 0.5614 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.4306, allocations: 4 kB / 0.5615 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.4308, allocations: 67.33 kB / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.413e-06/0.4308, allocations: 0 / 0.5615 GB, free: 3.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005673/0.4314, allocations: 185.3 kB / 0.5617 GB, free: 2.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.969e-05/0.4314, allocations: 51.41 kB / 0.5617 GB, free: 2.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.4317, allocations: 238.9 kB / 0.562 GB, free: 2.574 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.4317, allocations: 37.7 kB / 0.562 GB, free: 2.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.4318, allocations: 112.1 kB / 0.5621 GB, free: 2.418 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.4318, allocations: 31.72 kB / 0.5621 GB, free: 2.387 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/0.4319, allocations: 21.72 kB / 0.5622 GB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.432, allocations: 326.8 kB / 0.5625 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.524e-05/0.4321, allocations: 19.98 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.689e-05/0.4322, allocations: 33.7 kB / 0.5625 GB, free: 1.973 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.4323, allocations: 61.72 kB / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.4323, allocations: 384 / 0.5626 GB, free: 1.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001968/0.4325, allocations: 109.5 kB / 0.5627 GB, free: 1.793 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.4325, allocations: 8 kB / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4325, allocations: 0 / 0.5627 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.4325, allocations: 4 kB / 0.5627 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.761e-05/0.4326, allocations: 15.98 kB / 0.5627 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.4326, allocations: 11.97 kB / 0.5627 GB, free: 1.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.755e-05/0.4327, allocations: 3.938 kB / 0.5627 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.4327, allocations: 4 kB / 0.5627 GB, free: 1.746 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.0001168/0.4328, allocations: 129.8 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.61e-05/0.4328, allocations: 15.91 kB / 0.5629 GB, free: 1.594 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002535/0.4331, allocations: 111.1 kB / 0.563 GB, free: 1.473 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.4331, allocations: 3.984 kB / 0.563 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.4331, allocations: 7.938 kB / 0.563 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4331, allocations: 11.88 kB / 0.563 GB, free: 1.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4336, allocations: 366.7 kB / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4336, allocations: 0 / 0.5634 GB, free: 1.039 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.4336, allocations: 11.94 kB / 0.5634 GB, free: 1.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.4336, allocations: 7.938 kB / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/0.4336, allocations: 0 / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4336, allocations: 0 / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4336, allocations: 0 / 0.5634 GB, free: 1.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.4339, allocations: 212.3 kB / 0.5636 GB, free: 0.793 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.136e-05/0.4339, allocations: 12.09 kB / 0.5636 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.4339, allocations: 7.938 kB / 0.5636 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.112e-05/0.434, allocations: 7.938 kB / 0.5636 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.434, allocations: 7.922 kB / 0.5636 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.434, allocations: 4 kB / 0.5636 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001793/0.4342, allocations: 183.2 kB / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4342, allocations: 0 / 0.5638 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.4345, allocations: 23.94 kB / 0.5638 GB, free: 0.5508 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.002178/0.4367, allocations: 1.087 MB / 0.5649 GB, free: 15.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.4368, allocations: 51.92 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.4369, allocations: 4 kB / 0.5649 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.423e-05/0.4369, allocations: 27.92 kB / 0.565 GB, free: 15.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4373, allocations: 41.11 kB / 0.565 GB, free: 15.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.4394, allocations: 1.753 MB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.4398, allocations: 0.7119 MB / 0.5674 GB, free: 12.92 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.206e-05/0.4399, allocations: 16.97 kB / 0.5674 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.731e-05/0.4399, allocations: 39.42 kB / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4399, allocations: 0 / 0.5675 GB, free: 12.86 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03014/0.4701, allocations: 3.812 MB / 0.5712 GB, free: 9.121 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.39, allocations: 0 / 0.5712 GB, free: 9.121 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_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_Test53.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test53/Test53.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53.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.Test53_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test53_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.776957513997331]