Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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.001274/0.001274, 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.001362/0.001362, allocations: 214.3 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.506/1.506, 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.2502/0.2502, allocations: 44.91 MB / 358.8 MB, free: 6.289 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.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69",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.002086/0.002086, allocations: 63.91 kB / 0.4931 GB, free: 10.68 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4326, allocations: 65.47 MB / 0.5571 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.004204/0.4368, allocations: 1.842 MB / 0.5589 GB, free: 5.922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.439, allocations: 1.12 MB / 0.56 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.752e-05/0.4391, allocations: 3.938 kB / 0.56 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006114/0.4397, allocations: 299.3 kB / 0.5603 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005071/0.4402, allocations: 255.2 kB / 0.5605 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002625/0.4405, allocations: 111.6 kB / 0.5606 GB, free: 4.141 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003824/0.4408, allocations: 259.2 kB / 0.5609 GB, free: 3.887 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.246e-05/0.4409, allocations: 17.8 kB / 0.5609 GB, free: 3.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.4411, allocations: 135.5 kB / 0.561 GB, free: 3.734 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.4414, allocations: 215.8 kB / 0.5612 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.762e-05/0.4414, allocations: 8 kB / 0.5612 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.4415, allocations: 43.98 kB / 0.5613 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001581/0.4417, allocations: 140.5 kB / 0.5614 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.4419, allocations: 146.8 kB / 0.5615 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.4424, allocations: 368.1 kB / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4424, allocations: 0 / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4424, allocations: 0 / 0.5619 GB, free: 2.832 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.355e-05/0.4424, allocations: 8 kB / 0.5619 GB, free: 2.824 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001151/0.4436, allocations: 0.6747 MB / 0.5626 GB, free: 2.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4436, allocations: 12.03 kB / 0.5626 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/0.4437, allocations: 34.69 kB / 0.5626 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.4438, allocations: 52.59 kB / 0.5626 GB, free: 2.012 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006918/0.4444, allocations: 386.6 kB / 0.563 GB, free: 1.609 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.4445, allocations: 8.375 kB / 0.563 GB, free: 1.602 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.4445, allocations: 3.938 kB / 0.563 GB, free: 1.598 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.4447, allocations: 99.34 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.4447, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.4447, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.4448, allocations: 0 / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.4449, allocations: 35.91 kB / 0.5632 GB, free: 1.453 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.4453, allocations: 345.5 kB / 0.5635 GB, free: 1.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000287/0.4456, allocations: 109.1 kB / 0.5636 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.4457, allocations: 33.7 kB / 0.5636 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.4457, allocations: 4 kB / 0.5636 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002422/0.446, allocations: 113 kB / 0.5637 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.446, allocations: 3.938 kB / 0.5637 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004926/0.4465, allocations: 201.6 kB / 0.5639 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.863e-05/0.4466, allocations: 81.11 kB / 0.564 GB, free: 480 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/0.4478, allocations: 1.03 MB / 0.565 GB, free: 15.42 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4478, allocations: 25.7 kB / 0.565 GB, free: 15.39 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.448, allocations: 236.1 kB / 0.5653 GB, free: 15.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.4481, allocations: 19.86 kB / 0.5653 GB, free: 15.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-05/0.4481, allocations: 29.7 kB / 0.5653 GB, free: 15.1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.4483, allocations: 370.8 kB / 0.5657 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.346e-05/0.4484, allocations: 28.11 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4485, allocations: 67.41 kB / 0.5658 GB, free: 14.62 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001837/0.4487, allocations: 83.36 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.4487, allocations: 3.938 kB / 0.5658 GB, free: 14.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003955/0.4491, allocations: 181.2 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.4491, allocations: 8.062 kB / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.4491, allocations: 0 / 0.566 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4491, allocations: 4 kB / 0.566 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.4493, allocations: 23.92 kB / 0.566 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.4493, allocations: 4 kB / 0.566 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.091e-05/0.4494, allocations: 11.89 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.4494, allocations: 4 kB / 0.5661 GB, free: 14.29 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002564/0.4496, allocations: 225.6 kB / 0.5663 GB, free: 14.06 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.4497, allocations: 55.67 kB / 0.5663 GB, free: 14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003936/0.4501, allocations: 194 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/0.4501, allocations: 4 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4501, allocations: 4 kB / 0.5665 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.4501, allocations: 3.984 kB / 0.5665 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003966/0.4505, allocations: 320.4 kB / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4505, allocations: 0 / 0.5668 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.4506, allocations: 12 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.4506, allocations: 3.984 kB / 0.5668 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4506, allocations: 4 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.4506, allocations: 4 kB / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4506, allocations: 0 / 0.5669 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.4509, allocations: 217.4 kB / 0.5671 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.4511, allocations: 63.59 kB / 0.5671 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.4511, allocations: 11.98 kB / 0.5671 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.221e-05/0.4512, allocations: 8 kB / 0.5671 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.125e-05/0.4512, allocations: 11.98 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.4513, allocations: 4 kB / 0.5672 GB, free: 13.09 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008658/0.4521, allocations: 0.7643 MB / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4521, allocations: 0 / 0.5679 GB, free: 12.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4524, allocations: 40 kB / 0.5679 GB, free: 12.29 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002159/0.4546, allocations: 1.069 MB / 0.569 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002682/0.4548, allocations: 75.91 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4548, allocations: 4 kB / 0.5691 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.4549, allocations: 39.91 kB / 0.5691 GB, free: 11.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.4554, allocations: 71.48 kB / 0.5692 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005799/0.4612, allocations: 4.481 MB / 0.5735 GB, free: 6.574 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.4617, allocations: 0.8465 MB / 0.5744 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.4619, allocations: 63.44 kB / 0.5744 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002196/0.4621, allocations: 147.4 kB / 0.5746 GB, free: 5.496 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.4621, allocations: 0 / 0.5746 GB, free: 5.496 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03939/0.5015, allocations: 9.219 MB / 0.5836 GB, free: 12.35 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.99, allocations: 0 / 0.5836 GB, free: 12.35 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.57542 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.294161634003103]