Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001345/0.001345, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.001398/0.001398, allocations: 210.4 kB / 23.73 MB, free: 4.41 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2285/0.2285, allocations: 46.96 MB / 360.9 MB, free: 4.039 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.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 63.91 kB / 0.4962 GB, free: 7.668 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4126, allocations: 66.04 MB / 0.5607 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004868/0.4175, allocations: 1.776 MB / 0.5624 GB, free: 2.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.4199, allocations: 1.044 MB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001939/0.4201, allocations: 0 / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007218/0.4208, allocations: 311.3 kB / 0.5637 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007085/0.4215, allocations: 259.2 kB / 0.5639 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00033/0.4218, allocations: 111.6 kB / 0.5641 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000442/0.4223, allocations: 267.3 kB / 0.5643 GB, free: 464 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.062e-05/0.4224, allocations: 5.812 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002497/0.4226, allocations: 135.5 kB / 0.5644 GB, free: 320 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003298/0.4229, allocations: 219.4 kB / 0.5647 GB, free: 100 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.423, allocations: 11.94 kB / 0.5647 GB, free: 88 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.4231, allocations: 43.98 kB / 0.5647 GB, free: 44 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002055/0.4233, allocations: 147.5 kB / 0.5648 GB, free: 15.9 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.4235, allocations: 103.1 kB / 0.5649 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006396/0.4241, allocations: 392 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4241, allocations: 0 / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.4242, allocations: 4 kB / 0.5653 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.4242, allocations: 0 / 0.5653 GB, free: 15.41 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.00144/0.4256, allocations: 0.6883 MB / 0.566 GB, free: 14.69 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.4257, allocations: 12.03 kB / 0.566 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.223e-05/0.4257, allocations: 38.72 kB / 0.566 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.4258, allocations: 48.61 kB / 0.5661 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.4266, allocations: 390.5 kB / 0.5665 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/0.4266, allocations: 8.375 kB / 0.5665 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.4267, allocations: 7.938 kB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002367/0.4269, allocations: 87.36 kB / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4269, allocations: 0 / 0.5666 GB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4269, allocations: 7.875 kB / 0.5666 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.4269, allocations: 4 kB / 0.5666 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.427, allocations: 35.97 kB / 0.5666 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005205/0.4276, allocations: 337.4 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000318/0.4279, allocations: 117.1 kB / 0.567 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.811e-05/0.428, allocations: 37.7 kB / 0.5671 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.428, allocations: 4 kB / 0.5671 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002436/0.4283, allocations: 105 kB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.233e-06/0.4283, allocations: 0 / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.00055/0.4288, allocations: 209.2 kB / 0.5674 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.623e-05/0.4289, allocations: 81.09 kB / 0.5675 GB, free: 13.04 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.4302, allocations: 1.065 MB / 0.5685 GB, free: 11.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4302, allocations: 25.7 kB / 0.5685 GB, free: 11.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.4304, allocations: 240.1 kB / 0.5688 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.4e-05/0.4304, allocations: 31.78 kB / 0.5688 GB, free: 11.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.4305, allocations: 29.7 kB / 0.5688 GB, free: 11.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.4307, allocations: 370.8 kB / 0.5692 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.4308, allocations: 31.98 kB / 0.5692 GB, free: 11.22 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4309, allocations: 59.41 kB / 0.5693 GB, free: 11.15 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001931/0.4311, allocations: 99.3 kB / 0.5693 GB, free: 11.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4311, allocations: 3.938 kB / 0.5694 GB, free: 11.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003499/0.4314, allocations: 177.7 kB / 0.5695 GB, free: 10.86 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.4314, allocations: 8 kB / 0.5695 GB, free: 10.85 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4315, allocations: 4.062 kB / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4315, allocations: 0 / 0.5695 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4316, allocations: 27.98 kB / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.892e-06/0.4316, allocations: 0 / 0.5696 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.4317, allocations: 15.98 kB / 0.5696 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.4317, allocations: 4 kB / 0.5696 GB, free: 10.8 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.0002441/0.432, allocations: 229.6 kB / 0.5698 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.989e-05/0.432, allocations: 55.62 kB / 0.5698 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.4325, allocations: 205.8 kB / 0.57 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.4325, allocations: 4 kB / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4325, allocations: 0 / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.4325, allocations: 0 / 0.57 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.4328, allocations: 292.5 kB / 0.5703 GB, free: 9.965 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.4328, allocations: 3.938 kB / 0.5703 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.439e-05/0.4329, allocations: 23.97 kB / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.4329, allocations: 0 / 0.5704 GB, free: 9.938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.457e-05/0.4329, allocations: 4 kB / 0.5704 GB, free: 9.934 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.013e-06/0.4329, allocations: 4 kB / 0.5704 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4329, allocations: 0 / 0.5704 GB, free: 9.93 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003889/0.4333, allocations: 225.4 kB / 0.5706 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.4334, allocations: 67.59 kB / 0.5706 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.4335, allocations: 8 kB / 0.5706 GB, free: 9.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.432e-05/0.4336, allocations: 7.984 kB / 0.5707 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.4336, allocations: 15.98 kB / 0.5707 GB, free: 9.59 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.4336, allocations: 4 kB / 0.5707 GB, free: 9.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009047/0.4345, allocations: 0.7878 MB / 0.5714 GB, free: 8.801 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4345, allocations: 0 / 0.5714 GB, free: 8.801 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002823/0.4348, allocations: 44 kB / 0.5715 GB, free: 8.758 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.00227/0.4371, allocations: 1.098 MB / 0.5726 GB, free: 7.812 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.4374, allocations: 83.84 kB / 0.5726 GB, free: 7.73 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4374, allocations: 8.125 kB / 0.5726 GB, free: 7.723 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.4375, allocations: 47.91 kB / 0.5727 GB, free: 7.676 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.4379, allocations: 71.84 kB / 0.5728 GB, free: 7.609 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006055/0.444, allocations: 4.59 MB / 0.5772 GB, free: 2.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.4443, allocations: 241.8 kB / 0.5775 GB, free: 2.648 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001293/0.4444, allocations: 58.94 kB / 0.5775 GB, free: 2.59 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002067/0.4446, allocations: 155.4 kB / 0.5777 GB, free: 2.441 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4446, allocations: 0 / 0.5777 GB, free: 2.441 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04014/0.4847, allocations: 9.998 MB / 0.5874 GB, free: 8.527 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.97, allocations: 9.875 kB / 0.5875 GB, free: 8.523 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_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_1_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.152497377246618]