Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001679/0.001679, allocations: 115.6 kB / 20.43 MB, free: 1.309 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.00145/0.00145, allocations: 215 kB / 23.74 MB, free: 4.535 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.533/1.533, 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.2654/0.2654, allocations: 44.91 MB / 358.8 MB, free: 6.371 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.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70",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.002158/0.002158, allocations: 75.88 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4164/0.4185, allocations: 65.47 MB / 0.5571 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003966/0.4225, allocations: 1.842 MB / 0.5589 GB, free: 5.891 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002109/0.4246, allocations: 1.116 MB / 0.56 GB, free: 4.77 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4247, allocations: 3.938 kB / 0.56 GB, free: 4.766 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006095/0.4253, allocations: 311.3 kB / 0.5603 GB, free: 4.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005432/0.4259, allocations: 255.2 kB / 0.5605 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003447/0.4262, allocations: 111.6 kB / 0.5606 GB, free: 4.102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.4266, allocations: 267.2 kB / 0.5609 GB, free: 3.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.4267, allocations: 9.797 kB / 0.5609 GB, free: 3.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.4269, allocations: 139.5 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.4272, allocations: 215.5 kB / 0.5612 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.727e-05/0.4272, allocations: 8 kB / 0.5612 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4273, allocations: 51.97 kB / 0.5613 GB, free: 3.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.4275, allocations: 147.5 kB / 0.5614 GB, free: 3.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.4277, allocations: 150.8 kB / 0.5616 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005453/0.4282, allocations: 372 kB / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4282, allocations: 0 / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.4282, allocations: 0 / 0.5619 GB, free: 2.766 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.4282, allocations: 0 / 0.5619 GB, free: 2.766 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.001153/0.4294, allocations: 0.6941 MB / 0.5626 GB, free: 2.039 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.4294, allocations: 8.031 kB / 0.5626 GB, free: 2.031 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.975e-05/0.4295, allocations: 38.75 kB / 0.5626 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.057e-05/0.4296, allocations: 52.61 kB / 0.5627 GB, free: 1.934 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.4304, allocations: 398.5 kB / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4304, allocations: 384 / 0.5631 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.314e-05/0.4304, allocations: 7.938 kB / 0.5631 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4306, allocations: 91.3 kB / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4307, allocations: 0 / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.4307, allocations: 0 / 0.5632 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.4307, allocations: 8 kB / 0.5632 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001235/0.4308, allocations: 31.97 kB / 0.5632 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004736/0.4313, allocations: 349.4 kB / 0.5635 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003089/0.4316, allocations: 113.1 kB / 0.5636 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.4317, allocations: 37.7 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.743e-05/0.4317, allocations: 3.984 kB / 0.5637 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.432, allocations: 112.9 kB / 0.5638 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.432, allocations: 4 kB / 0.5638 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000505/0.4325, allocations: 197.2 kB / 0.564 GB, free: 488 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4325, allocations: 77.11 kB / 0.5641 GB, free: 392 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.4338, allocations: 1.058 MB / 0.5651 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.4338, allocations: 29.7 kB / 0.5651 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001928/0.434, allocations: 236.1 kB / 0.5653 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.271e-05/0.4341, allocations: 27.81 kB / 0.5654 GB, free: 15.01 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.4341, allocations: 25.7 kB / 0.5654 GB, free: 14.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002796/0.4344, allocations: 374.8 kB / 0.5658 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.4345, allocations: 31.98 kB / 0.5658 GB, free: 14.57 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.4346, allocations: 59.41 kB / 0.5658 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4348, allocations: 95.86 kB / 0.5659 GB, free: 14.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.4348, allocations: 7.875 kB / 0.5659 GB, free: 14.39 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003156/0.4351, allocations: 173.2 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.314e-05/0.4352, allocations: 8 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.4352, allocations: 0 / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.4352, allocations: 0 / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.4353, allocations: 23.98 kB / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.4353, allocations: 0 / 0.5661 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.4354, allocations: 16 kB / 0.5661 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4355, allocations: 4 kB / 0.5662 GB, free: 14.16 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.0002658/0.4357, allocations: 229.6 kB / 0.5664 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.208e-05/0.4358, allocations: 55.62 kB / 0.5664 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004147/0.4362, allocations: 193.8 kB / 0.5666 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4362, allocations: 4 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4362, allocations: 0 / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.4362, allocations: 3.984 kB / 0.5666 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.4366, allocations: 328.4 kB / 0.5669 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4366, allocations: 0 / 0.5669 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.371e-05/0.4366, allocations: 8 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4366, allocations: 4 kB / 0.5669 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.4366, allocations: 3.984 kB / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.4366, allocations: 256 / 0.5669 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.4366, allocations: 8 kB / 0.567 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003642/0.437, allocations: 221.4 kB / 0.5672 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.4371, allocations: 67.59 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.4372, allocations: 4 kB / 0.5672 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.4373, allocations: 7.984 kB / 0.5672 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.4373, allocations: 15.92 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.4373, allocations: 4 kB / 0.5673 GB, free: 12.95 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008686/0.4382, allocations: 0.78 MB / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4382, allocations: 0 / 0.568 GB, free: 12.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002816/0.4385, allocations: 48 kB / 0.5681 GB, free: 12.12 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.002282/0.4408, allocations: 1.066 MB / 0.5691 GB, free: 11.19 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.4411, allocations: 87.89 kB / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4411, allocations: 0 / 0.5692 GB, free: 11.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001136/0.4412, allocations: 39.92 kB / 0.5692 GB, free: 11.06 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.4417, allocations: 75.69 kB / 0.5693 GB, free: 10.99 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006206/0.4479, allocations: 4.571 MB / 0.5738 GB, free: 6.316 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.4485, allocations: 0.8507 MB / 0.5746 GB, free: 5.441 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001578/0.4487, allocations: 58.94 kB / 0.5747 GB, free: 5.379 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002043/0.4489, allocations: 155.3 kB / 0.5748 GB, free: 5.23 MB / 414.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4489, allocations: 0 / 0.5748 GB, free: 5.23 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03897/0.4878, allocations: 9.378 MB / 0.584 GB, free: 11.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.92, allocations: 10.41 kB / 0.584 GB, free: 11.93 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv --start-time 0 --stop-time 8000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.56403 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test70.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.30173241400189]