Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001531/0.001531, allocations: 111.6 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.002109/0.002109, allocations: 214.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.539/1.539, allocations: 230.6 MB / 257.5 MB, free: 8 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.2611/0.2611, allocations: 44.92 MB / 358.8 MB, free: 6.293 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.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test71,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test71",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.001994/0.001994, allocations: 67.91 kB / 0.4931 GB, free: 10.67 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4044/0.4064, allocations: 65.47 MB / 0.5571 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.004162/0.4106, allocations: 1.839 MB / 0.5589 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002123/0.4127, allocations: 1.122 MB / 0.56 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.4128, allocations: 3.938 kB / 0.56 GB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000699/0.4135, allocations: 299.3 kB / 0.5603 GB, free: 4.488 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007057/0.4142, allocations: 263.2 kB / 0.5605 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000421/0.4146, allocations: 107.7 kB / 0.5606 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.4152, allocations: 275.2 kB / 0.5609 GB, free: 3.855 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.565e-05/0.4152, allocations: 5.812 kB / 0.5609 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002754/0.4155, allocations: 143.5 kB / 0.561 GB, free: 3.707 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003269/0.4159, allocations: 215.5 kB / 0.5612 GB, free: 3.496 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.516e-05/0.4159, allocations: 8 kB / 0.5612 GB, free: 3.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.4161, allocations: 47.98 kB / 0.5613 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.4163, allocations: 139.6 kB / 0.5614 GB, free: 3.305 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.4165, allocations: 146.8 kB / 0.5616 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005651/0.417, allocations: 383.9 kB / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.417, allocations: 0 / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.417, allocations: 0 / 0.5619 GB, free: 2.785 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.417, allocations: 4 kB / 0.5619 GB, free: 2.781 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.001239/0.4183, allocations: 0.6902 MB / 0.5626 GB, free: 2.059 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.506e-05/0.4184, allocations: 12.02 kB / 0.5626 GB, free: 2.047 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.4184, allocations: 30.75 kB / 0.5626 GB, free: 2.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.893e-05/0.4185, allocations: 56.61 kB / 0.5627 GB, free: 1.953 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007614/0.4193, allocations: 402.4 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4193, allocations: 384 / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.4193, allocations: 7.938 kB / 0.5631 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.4195, allocations: 91.36 kB / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4195, allocations: 0 / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.4195, allocations: 0 / 0.5632 GB, free: 1.426 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4196, allocations: 4 kB / 0.5632 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.4197, allocations: 27.92 kB / 0.5632 GB, free: 1.395 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004559/0.4201, allocations: 357.4 kB / 0.5635 GB, free: 1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002879/0.4204, allocations: 105.2 kB / 0.5636 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.4205, allocations: 41.64 kB / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.931e-05/0.4205, allocations: 0 / 0.5637 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.4208, allocations: 105.1 kB / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.4208, allocations: 0 / 0.5638 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000591/0.4214, allocations: 201.2 kB / 0.564 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.4215, allocations: 77.11 kB / 0.564 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001436/0.4229, allocations: 1.065 MB / 0.5651 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.617e-05/0.4229, allocations: 29.7 kB / 0.5651 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.4232, allocations: 236.1 kB / 0.5653 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.958e-05/0.4232, allocations: 31.8 kB / 0.5654 GB, free: 15.04 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.4233, allocations: 29.64 kB / 0.5654 GB, free: 15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.4236, allocations: 370.8 kB / 0.5658 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4237, allocations: 31.98 kB / 0.5658 GB, free: 14.6 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.4238, allocations: 63.41 kB / 0.5658 GB, free: 14.52 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001875/0.424, allocations: 87.86 kB / 0.5659 GB, free: 14.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.424, allocations: 3.938 kB / 0.5659 GB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003197/0.4243, allocations: 173.2 kB / 0.5661 GB, free: 14.25 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.4243, allocations: 12 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.4243, allocations: 4 kB / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.4243, allocations: 0 / 0.5661 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001353/0.4245, allocations: 23.92 kB / 0.5661 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.4245, allocations: 4 kB / 0.5661 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001025/0.4246, allocations: 15.92 kB / 0.5662 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.4246, allocations: 4 kB / 0.5662 GB, free: 14.18 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.000251/0.4249, allocations: 221.7 kB / 0.5664 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.227e-05/0.4249, allocations: 63.62 kB / 0.5664 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004311/0.4254, allocations: 197.8 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.4254, allocations: 4 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.4254, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4254, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003562/0.4257, allocations: 324.5 kB / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4257, allocations: 256 / 0.5669 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.393e-05/0.4258, allocations: 11.94 kB / 0.5669 GB, free: 13.32 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.4258, allocations: 4 kB / 0.5669 GB, free: 13.31 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4258, allocations: 8 kB / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4258, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4258, allocations: 0 / 0.567 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.4262, allocations: 221.4 kB / 0.5672 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.4263, allocations: 63.59 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.006e-05/0.4264, allocations: 8 kB / 0.5672 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.4264, allocations: 7.984 kB / 0.5672 GB, free: 12.99 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.4265, allocations: 11.98 kB / 0.5673 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4265, allocations: 11.94 kB / 0.5673 GB, free: 12.96 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008899/0.4274, allocations: 0.78 MB / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4274, allocations: 0 / 0.568 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.4277, allocations: 44 kB / 0.5681 GB, free: 12.14 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.002196/0.4299, allocations: 1.067 MB / 0.5691 GB, free: 11.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4301, allocations: 87.83 kB / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4301, allocations: 0 / 0.5692 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.4303, allocations: 35.98 kB / 0.5692 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.4307, allocations: 75.48 kB / 0.5693 GB, free: 11.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005879/0.4366, allocations: 4.571 MB / 0.5738 GB, free: 6.34 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005153/0.4371, allocations: 0.8468 MB / 0.5746 GB, free: 5.469 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.4372, allocations: 66.88 kB / 0.5747 GB, free: 5.398 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.4374, allocations: 155.4 kB / 0.5748 GB, free: 5.25 MB / 414.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4374, allocations: 0 / 0.5748 GB, free: 5.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04068/0.4781, allocations: 9.388 MB / 0.584 GB, free: 11.95 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12, allocations: 0 / 0.584 GB, free: 11.95 MB / 430.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTimeTable_Test71.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.335970114996599]