Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001695/0.001695, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001609/0.001609, allocations: 210.2 kB / 23.73 MB, free: 4.387 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.543/1.543, allocations: 230.6 MB / 257.5 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.241/0.241, allocations: 46.97 MB / 360.9 MB, free: 4.02 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003121/0.003121, allocations: 63.89 kB / 0.4962 GB, free: 7.656 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4113, allocations: 66.04 MB / 0.5606 GB, free: 4.215 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.003483/0.4148, allocations: 1.787 MB / 0.5624 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00294/0.4177, allocations: 1.731 MB / 0.5641 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.609e-05/0.4178, allocations: 4 kB / 0.5641 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003161/0.4181, allocations: 55.69 kB / 0.5641 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004704/0.4186, allocations: 143.3 kB / 0.5643 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.4189, allocations: 107.7 kB / 0.5644 GB, free: 380 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003/0.4192, allocations: 203.4 kB / 0.5646 GB, free: 176 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.437e-05/0.4192, allocations: 5.812 kB / 0.5646 GB, free: 168 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.4194, allocations: 87.56 kB / 0.5647 GB, free: 80 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.4196, allocations: 79.61 kB / 0.5647 GB, free: 0 / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.753e-05/0.4196, allocations: 8.047 kB / 0.5647 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000209/0.4198, allocations: 115.8 kB / 0.5649 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.636e-05/0.4199, allocations: 35.84 kB / 0.5649 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.68e-05/0.42, allocations: 55.66 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.4204, allocations: 228.9 kB / 0.5652 GB, free: 15.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.4204, allocations: 4 kB / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4204, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.74e-06/0.4204, allocations: 0 / 0.5652 GB, free: 15.56 MB / 414.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.0007714/0.4211, allocations: 428.9 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.4212, allocations: 8.031 kB / 0.5656 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.074e-05/0.4213, allocations: 34.75 kB / 0.5656 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.4213, allocations: 24.84 kB / 0.5656 GB, free: 15.04 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004024/0.4217, allocations: 194.1 kB / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.4217, allocations: 384 / 0.5658 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.4217, allocations: 11.92 kB / 0.5658 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.422, allocations: 156.4 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.422, allocations: 0 / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.422, allocations: 0 / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.422, allocations: 4 kB / 0.566 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.4222, allocations: 31.97 kB / 0.566 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.4224, allocations: 181.7 kB / 0.5662 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.4227, allocations: 109.1 kB / 0.5663 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.628e-05/0.4228, allocations: 37.7 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.605e-05/0.4228, allocations: 0 / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002378/0.423, allocations: 120.9 kB / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.423, allocations: 0 / 0.5665 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004789/0.4235, allocations: 185.4 kB / 0.5666 GB, free: 13.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4236, allocations: 132.5 kB / 0.5668 GB, free: 13.72 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.4239, allocations: 240.1 kB / 0.567 GB, free: 13.47 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.228e-05/0.424, allocations: 33.7 kB / 0.567 GB, free: 13.43 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.4241, allocations: 116.1 kB / 0.5671 GB, free: 13.32 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.782e-05/0.4241, allocations: 31.73 kB / 0.5672 GB, free: 13.29 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.4242, allocations: 29.7 kB / 0.5672 GB, free: 13.25 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.4243, allocations: 330.8 kB / 0.5675 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4245, allocations: 27.98 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.4246, allocations: 124.5 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4248, allocations: 103.9 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.4248, allocations: 3.938 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.4251, allocations: 145.4 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.4251, allocations: 4 kB / 0.5679 GB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.4251, allocations: 4 kB / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.4252, allocations: 0 / 0.5679 GB, free: 12.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4253, allocations: 24.05 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.4253, allocations: 4 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.873e-05/0.4254, allocations: 11.95 kB / 0.5679 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.4254, allocations: 4 kB / 0.5679 GB, free: 12.42 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.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000149/0.4255, allocations: 142.2 kB / 0.5681 GB, free: 12.27 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.4256, allocations: 15.91 kB / 0.5681 GB, free: 12.26 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003667/0.4259, allocations: 166.6 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.426, allocations: 4 kB / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.426, allocations: 0 / 0.5682 GB, free: 12.08 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.426, allocations: 4 kB / 0.5683 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.4262, allocations: 192.5 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.4262, allocations: 4 kB / 0.5684 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.436e-05/0.4262, allocations: 11.98 kB / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.4262, allocations: 0 / 0.5685 GB, free: 11.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.4262, allocations: 8 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4262, allocations: 0 / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4262, allocations: 0 / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003283/0.4266, allocations: 189.7 kB / 0.5686 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.4266, allocations: 24.05 kB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.4267, allocations: 11.98 kB / 0.5687 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.4267, allocations: 12 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.4268, allocations: 7.984 kB / 0.5687 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.4268, allocations: 4 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.427, allocations: 193.8 kB / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.427, allocations: 0 / 0.5689 GB, free: 11.37 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002967/0.4273, allocations: 55.86 kB / 0.5689 GB, free: 11.31 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.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.002458/0.4298, allocations: 1.148 MB / 0.5701 GB, free: 10.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002839/0.43, allocations: 91.95 kB / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.43, allocations: 0 / 0.5701 GB, free: 10.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.4302, allocations: 47.89 kB / 0.5702 GB, free: 10.22 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.4305, allocations: 50.25 kB / 0.5702 GB, free: 10.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002542/0.4331, allocations: 1.908 MB / 0.5721 GB, free: 8.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.4332, allocations: 115.5 kB / 0.5722 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001029/0.4333, allocations: 37.94 kB / 0.5722 GB, free: 7.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.4334, allocations: 59.41 kB / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of SimCode: time 4e-07/0.4334, allocations: 0 / 0.5723 GB, free: 7.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.4693, allocations: 6.231 MB / 0.5784 GB, free: 1.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/11.89, allocations: 11.44 kB / 0.5784 GB, free: 1.762 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000799201 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.178704597987235]