Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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.001428/0.001428, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001446/0.001446, allocations: 213.3 kB / 23.75 MB, free: 4.668 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.437/1.437, allocations: 230.6 MB / 257.5 MB, free: 7.969 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.226/0.226, allocations: 44.91 MB / 358.8 MB, free: 6.258 MB / 286.1 MB " [Timeout remaining time 180] 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.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62",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.002116/0.002116, allocations: 63.84 kB / 0.4931 GB, free: 10.65 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.332, allocations: 65.48 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.003673/0.3357, allocations: 1.698 MB / 0.5587 GB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.3379, allocations: 1.03 MB / 0.5598 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001118/0.338, allocations: 4 kB / 0.5598 GB, free: 4.988 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.3384, allocations: 55.75 kB / 0.5598 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004006/0.3388, allocations: 91.59 kB / 0.5599 GB, free: 4.844 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002394/0.3391, allocations: 83.66 kB / 0.56 GB, free: 4.762 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.3393, allocations: 95.7 kB / 0.5601 GB, free: 4.668 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.474e-05/0.3393, allocations: 4.234 kB / 0.5601 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.3395, allocations: 51.72 kB / 0.5601 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.3396, allocations: 35.78 kB / 0.5602 GB, free: 4.578 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.3396, allocations: 4 kB / 0.5602 GB, free: 4.574 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.854e-05/0.3397, allocations: 31.98 kB / 0.5602 GB, free: 4.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.808e-05/0.3397, allocations: 31.86 kB / 0.5602 GB, free: 4.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.442e-05/0.3398, allocations: 39.67 kB / 0.5603 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.34, allocations: 125.2 kB / 0.5604 GB, free: 4.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.34, allocations: 3.938 kB / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.34, allocations: 0 / 0.5604 GB, free: 4.348 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3401, allocations: 0 / 0.5604 GB, free: 4.348 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007084/0.3408, allocations: 369.3 kB / 0.5607 GB, free: 3.957 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3408, allocations: 12.03 kB / 0.5607 GB, free: 3.945 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.3409, allocations: 34.75 kB / 0.5608 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.3409, allocations: 16.89 kB / 0.5608 GB, free: 3.887 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.3412, allocations: 155.2 kB / 0.5609 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.3412, allocations: 4.359 kB / 0.5609 GB, free: 3.703 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.698e-05/0.3413, allocations: 11.94 kB / 0.561 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.3414, allocations: 49.62 kB / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.3414, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.3414, allocations: 0 / 0.561 GB, free: 3.637 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.3414, allocations: 7.984 kB / 0.561 GB, free: 3.629 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.565e-05/0.3415, allocations: 12 kB / 0.561 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002397/0.3417, allocations: 164.8 kB / 0.5612 GB, free: 3.414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.3419, allocations: 54.55 kB / 0.5612 GB, free: 3.352 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.087e-05/0.342, allocations: 16.86 kB / 0.5612 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.342, allocations: 0 / 0.5612 GB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002118/0.3422, allocations: 67.33 kB / 0.5613 GB, free: 3.254 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.563e-06/0.3422, allocations: 4 kB / 0.5613 GB, free: 3.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003316/0.3426, allocations: 93.58 kB / 0.5614 GB, free: 3.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.249e-05/0.3426, allocations: 63.39 kB / 0.5615 GB, free: 3.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.343, allocations: 267.8 kB / 0.5617 GB, free: 2.805 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.343, allocations: 29.7 kB / 0.5617 GB, free: 2.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.9e-05/0.3431, allocations: 112.1 kB / 0.5619 GB, free: 2.656 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.362e-05/0.3431, allocations: 11.84 kB / 0.5619 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.3433, allocations: 25.72 kB / 0.5619 GB, free: 2.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002091/0.3435, allocations: 330.8 kB / 0.5622 GB, free: 2.281 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.3436, allocations: 15.94 kB / 0.5622 GB, free: 2.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.3436, allocations: 25.7 kB / 0.5622 GB, free: 2.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.3438, allocations: 45.7 kB / 0.5623 GB, free: 2.184 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.3438, allocations: 7.938 kB / 0.5623 GB, free: 2.176 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001767/0.3439, allocations: 85.53 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.344, allocations: 4 kB / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.344, allocations: 0 / 0.5624 GB, free: 2.082 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.344, allocations: 3.938 kB / 0.5624 GB, free: 2.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.3441, allocations: 19.98 kB / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.3441, allocations: 0 / 0.5624 GB, free: 2.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.838e-05/0.3441, allocations: 7.891 kB / 0.5624 GB, free: 2.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.3442, allocations: 4.312 kB / 0.5624 GB, free: 2.047 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (7): * Single equations (assignments): 7 * 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.0001727/0.3443, allocations: 145.7 kB / 0.5626 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.3444, allocations: 11.91 kB / 0.5626 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.3446, allocations: 102.7 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3446, allocations: 0 / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3446, allocations: 0 / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3446, allocations: 0 / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.3448, allocations: 172.6 kB / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.3448, allocations: 0 / 0.5628 GB, free: 1.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.3448, allocations: 4 kB / 0.5628 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3448, allocations: 0 / 0.5628 GB, free: 1.555 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.3448, allocations: 4 kB / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3448, allocations: 0 / 0.5628 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3448, allocations: 4 kB / 0.5628 GB, free: 1.547 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.345, allocations: 116.9 kB / 0.563 GB, free: 1.414 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.837e-05/0.345, allocations: 11.91 kB / 0.563 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.345, allocations: 3.984 kB / 0.563 GB, free: 1.398 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.3451, allocations: 4 kB / 0.563 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.3451, allocations: 4 kB / 0.563 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3451, allocations: 4 kB / 0.563 GB, free: 1.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002312/0.3454, allocations: 204.6 kB / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3454, allocations: 0 / 0.5632 GB, free: 1.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000219/0.3456, allocations: 19.94 kB / 0.5632 GB, free: 1.168 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002002/0.3476, allocations: 0.9645 MB / 0.5641 GB, free: 340 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.3477, allocations: 35.98 kB / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.3477, allocations: 0 / 0.5642 GB, free: 304 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.3478, allocations: 23.92 kB / 0.5642 GB, free: 280 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.3481, allocations: 25.66 kB / 0.5642 GB, free: 256 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.3504, allocations: 1.694 MB / 0.5659 GB, free: 14.48 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004156/0.3508, allocations: 0.708 MB / 0.5666 GB, free: 13.74 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.165e-05/0.3508, allocations: 12.73 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.57e-05/0.3509, allocations: 43.42 kB / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3509, allocations: 0 / 0.5666 GB, free: 13.69 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03001/0.3809, allocations: 3.668 MB / 0.5702 GB, free: 10.08 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 12.23 kB / 0.5702 GB, free: 10.07 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000498703 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test62.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: 14.486295189002703]