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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001443/0.001443, allocations: 212.3 kB / 23.73 MB, free: 4.16 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.468/1.468, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2477/0.2477, allocations: 44.93 MB / 358.8 MB, free: 6.074 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.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.00206/0.00206, allocations: 67.91 kB / 0.4931 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.329, allocations: 65.47 MB / 0.557 GB, free: 7.359 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.00346/0.3325, allocations: 1.789 MB / 0.5588 GB, free: 5.746 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001934/0.3344, allocations: 1.048 MB / 0.5598 GB, free: 4.695 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.681e-05/0.3345, allocations: 3.938 kB / 0.5598 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000552/0.3351, allocations: 303.3 kB / 0.5601 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005348/0.3356, allocations: 271.2 kB / 0.5603 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002291/0.3358, allocations: 103.7 kB / 0.5604 GB, free: 4.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3361, allocations: 263.2 kB / 0.5607 GB, free: 3.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.121e-05/0.3362, allocations: 13.81 kB / 0.5607 GB, free: 3.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.3364, allocations: 127.5 kB / 0.5608 GB, free: 3.629 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3367, allocations: 215.5 kB / 0.561 GB, free: 3.418 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.3367, allocations: 8 kB / 0.561 GB, free: 3.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.3368, allocations: 47.98 kB / 0.5611 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001773/0.337, allocations: 147.5 kB / 0.5612 GB, free: 3.219 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3371, allocations: 111 kB / 0.5613 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.3376, allocations: 384.1 kB / 0.5617 GB, free: 2.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.3376, allocations: 4 kB / 0.5617 GB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3376, allocations: 0 / 0.5617 GB, free: 2.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.3376, allocations: 0 / 0.5617 GB, free: 2.73 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.001088/0.3387, allocations: 0.6863 MB / 0.5624 GB, free: 2.012 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3387, allocations: 12.02 kB / 0.5624 GB, free: 2 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.3388, allocations: 34.75 kB / 0.5624 GB, free: 1.957 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.3389, allocations: 52.61 kB / 0.5625 GB, free: 1.906 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006545/0.3395, allocations: 390.5 kB / 0.5628 GB, free: 1.5 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.3395, allocations: 4.375 kB / 0.5628 GB, free: 1.496 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.821e-05/0.3396, allocations: 15.92 kB / 0.5629 GB, free: 1.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.3398, allocations: 83.31 kB / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3398, allocations: 0 / 0.5629 GB, free: 1.387 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.3398, allocations: 3.984 kB / 0.5629 GB, free: 1.383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.3398, allocations: 4 kB / 0.5629 GB, free: 1.379 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.3399, allocations: 27.98 kB / 0.563 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.3404, allocations: 341.4 kB / 0.5633 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3407, allocations: 117.1 kB / 0.5634 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.593e-05/0.3408, allocations: 37.7 kB / 0.5634 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.3408, allocations: 0 / 0.5634 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000259/0.341, allocations: 116.9 kB / 0.5636 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.341, allocations: 4 kB / 0.5636 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005362/0.3416, allocations: 205.6 kB / 0.5638 GB, free: 464 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.3416, allocations: 77.11 kB / 0.5638 GB, free: 368 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.343, allocations: 1.062 MB / 0.5649 GB, free: 15.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.528e-05/0.343, allocations: 33.7 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/0.3432, allocations: 236.1 kB / 0.5651 GB, free: 15.01 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.3433, allocations: 27.8 kB / 0.5651 GB, free: 14.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-05/0.3434, allocations: 33.7 kB / 0.5652 GB, free: 14.94 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002199/0.3436, allocations: 362.8 kB / 0.5655 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.175e-05/0.3437, allocations: 36.11 kB / 0.5656 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.3438, allocations: 70.97 kB / 0.5656 GB, free: 14.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002015/0.344, allocations: 91.41 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.344, allocations: 3.938 kB / 0.5657 GB, free: 14.36 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003256/0.3443, allocations: 185.1 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.3443, allocations: 4 kB / 0.5659 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.3443, allocations: 3.984 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.83e-05/0.3444, allocations: 4 kB / 0.5659 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3445, allocations: 16 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/0.3445, allocations: 4 kB / 0.5659 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.3446, allocations: 15.92 kB / 0.5659 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.3446, allocations: 8.062 kB / 0.5659 GB, free: 14.12 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.0002492/0.3449, allocations: 233.6 kB / 0.5662 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-05/0.3449, allocations: 55.62 kB / 0.5662 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000428/0.3454, allocations: 202 kB / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.3454, allocations: 64 / 0.5664 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.248e-06/0.3454, allocations: 8 kB / 0.5664 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3454, allocations: 0 / 0.5664 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.3457, allocations: 296.5 kB / 0.5667 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3457, allocations: 3.984 kB / 0.5667 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3458, allocations: 12 kB / 0.5667 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3458, allocations: 4 kB / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3458, allocations: 0 / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3458, allocations: 0 / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3458, allocations: 0 / 0.5667 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004001/0.3462, allocations: 233.4 kB / 0.567 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.3463, allocations: 67.59 kB / 0.567 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.3464, allocations: 0 / 0.567 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.437e-05/0.3465, allocations: 11.98 kB / 0.567 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.3465, allocations: 7.984 kB / 0.567 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.3465, allocations: 8 kB / 0.567 GB, free: 12.92 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009324/0.3475, allocations: 0.7955 MB / 0.5678 GB, free: 12.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3475, allocations: 0 / 0.5678 GB, free: 12.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.3477, allocations: 43.98 kB / 0.5679 GB, free: 12.08 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.002353/0.3501, allocations: 1.1 MB / 0.5689 GB, free: 11.13 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3504, allocations: 83.89 kB / 0.569 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3504, allocations: 0 / 0.569 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3505, allocations: 44.05 kB / 0.5691 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/0.3509, allocations: 77.5 kB / 0.5691 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006036/0.357, allocations: 4.582 MB / 0.5736 GB, free: 6.238 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002759/0.3572, allocations: 245.8 kB / 0.5738 GB, free: 5.977 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001358/0.3574, allocations: 67.42 kB / 0.5739 GB, free: 5.91 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.3576, allocations: 155.4 kB / 0.5741 GB, free: 5.762 MB / 414.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3576, allocations: 3.938 kB / 0.5741 GB, free: 5.758 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.3982, allocations: 9.994 MB / 0.5838 GB, free: 11.85 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.49/11.89, allocations: 8.062 kB / 0.5838 GB, free: 11.84 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.09570598276332]