Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001448/0.001448, allocations: 113.1 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.001536/0.001536, allocations: 216.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.578/1.578, allocations: 230.6 MB / 257.5 MB, free: 7.996 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.2241/0.2241, allocations: 44.92 MB / 358.8 MB, free: 6.254 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.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60",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.002019/0.002019, allocations: 63.91 kB / 0.4931 GB, free: 10.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3283, allocations: 65.48 MB / 0.5571 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.00338/0.3317, allocations: 1.744 MB / 0.5588 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002633/0.3343, allocations: 1.743 MB / 0.5605 GB, free: 4.227 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.001e-05/0.3344, allocations: 3.938 kB / 0.5605 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.3347, allocations: 39.77 kB / 0.5605 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.335, allocations: 95.55 kB / 0.5606 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.3352, allocations: 79.72 kB / 0.5607 GB, free: 4.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.3354, allocations: 107.6 kB / 0.5608 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.58e-05/0.3355, allocations: 9.828 kB / 0.5608 GB, free: 3.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3356, allocations: 55.77 kB / 0.5609 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.3358, allocations: 43.83 kB / 0.5609 GB, free: 3.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.3358, allocations: 4 kB / 0.5609 GB, free: 3.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001914/0.336, allocations: 115.9 kB / 0.561 GB, free: 3.684 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.259e-05/0.336, allocations: 19.92 kB / 0.561 GB, free: 3.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.887e-05/0.3361, allocations: 27.81 kB / 0.5611 GB, free: 3.637 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.3364, allocations: 179.2 kB / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.3364, allocations: 0 / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3364, allocations: 0 / 0.5612 GB, free: 3.461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.3364, allocations: 0 / 0.5612 GB, free: 3.461 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006329/0.337, allocations: 349.5 kB / 0.5616 GB, free: 3.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3371, allocations: 12.03 kB / 0.5616 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.3371, allocations: 34.75 kB / 0.5616 GB, free: 3.035 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.786e-05/0.3372, allocations: 12.84 kB / 0.5616 GB, free: 3.023 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003228/0.3375, allocations: 156.3 kB / 0.5618 GB, free: 2.848 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.3375, allocations: 3.938 kB / 0.5618 GB, free: 2.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.3376, allocations: 15.92 kB / 0.5618 GB, free: 2.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3377, allocations: 67.39 kB / 0.5619 GB, free: 2.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.3377, allocations: 4 kB / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.022e-05/0.3378, allocations: 0 / 0.5619 GB, free: 2.746 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.3378, allocations: 4 kB / 0.5619 GB, free: 2.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.959e-05/0.3378, allocations: 19.98 kB / 0.5619 GB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.3383, allocations: 255.9 kB / 0.5621 GB, free: 2.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3384, allocations: 58.61 kB / 0.5622 GB, free: 2.363 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.122e-05/0.3385, allocations: 16.86 kB / 0.5622 GB, free: 2.344 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.3385, allocations: 7.984 kB / 0.5622 GB, free: 2.336 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.3387, allocations: 67.39 kB / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.3387, allocations: 0 / 0.5623 GB, free: 2.258 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005578/0.3392, allocations: 169.4 kB / 0.5624 GB, free: 2.086 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.3393, allocations: 85.03 kB / 0.5625 GB, free: 1.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.3395, allocations: 171.8 kB / 0.5627 GB, free: 1.809 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3395, allocations: 33.64 kB / 0.5627 GB, free: 1.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.3396, allocations: 96.14 kB / 0.5628 GB, free: 1.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.3396, allocations: 35.67 kB / 0.5628 GB, free: 1.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.194e-05/0.3397, allocations: 21.72 kB / 0.5629 GB, free: 1.609 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.3398, allocations: 318.8 kB / 0.5632 GB, free: 1.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.845e-05/0.3399, allocations: 23.98 kB / 0.5632 GB, free: 1.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-05/0.34, allocations: 42.56 kB / 0.5632 GB, free: 1.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.3401, allocations: 61.73 kB / 0.5633 GB, free: 1.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.3401, allocations: 0 / 0.5633 GB, free: 1.148 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001904/0.3403, allocations: 97.58 kB / 0.5634 GB, free: 1.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3403, allocations: 4 kB / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3403, allocations: 0 / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3403, allocations: 0 / 0.5634 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.3404, allocations: 27.86 kB / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3404, allocations: 0 / 0.5634 GB, free: 1.016 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.481e-05/0.3405, allocations: 12.03 kB / 0.5634 GB, free: 1.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.382e-06/0.3405, allocations: 0 / 0.5634 GB, free: 1.004 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 (10): * Single equations (assignments): 10 * 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.0001164/0.3406, allocations: 124.6 kB / 0.5635 GB, free: 0.875 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.3406, allocations: 7.953 kB / 0.5636 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.3409, allocations: 110.4 kB / 0.5637 GB, free: 0.75 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.3409, allocations: 4.312 kB / 0.5637 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3409, allocations: 11.86 kB / 0.5637 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3409, allocations: 7.984 kB / 0.5637 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004805/0.3414, allocations: 374.6 kB / 0.564 GB, free: 316 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.3414, allocations: 3.938 kB / 0.564 GB, free: 312 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.255e-05/0.3414, allocations: 11.94 kB / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3414, allocations: 0 / 0.5641 GB, free: 300 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.3414, allocations: 4 kB / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.3414, allocations: 0 / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3414, allocations: 0 / 0.5641 GB, free: 296 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.3417, allocations: 200.4 kB / 0.5642 GB, free: 76 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/0.3417, allocations: 15.88 kB / 0.5643 GB, free: 60 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.575e-05/0.3417, allocations: 4 kB / 0.5643 GB, free: 56 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.3418, allocations: 4 kB / 0.5643 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.3419, allocations: 11.92 kB / 0.5643 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.3419, allocations: 4 kB / 0.5643 GB, free: 36 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001355/0.342, allocations: 123.5 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 4 kB / 0.5644 GB, free: 15.91 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003116/0.3423, allocations: 51.75 kB / 0.5645 GB, free: 15.86 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: 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 (8): * Single equations (assignments): 6 * 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.002422/0.3447, allocations: 1.186 MB / 0.5656 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002057/0.3449, allocations: 63.91 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.3449, allocations: 0 / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.345, allocations: 31.92 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.3454, allocations: 26.16 kB / 0.5657 GB, free: 14.75 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3472, allocations: 1.593 MB / 0.5673 GB, free: 13.06 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3475, allocations: 0.7079 MB / 0.568 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.446e-05/0.3476, allocations: 25.27 kB / 0.568 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.665e-05/0.3477, allocations: 39.41 kB / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.3477, allocations: 0 / 0.568 GB, free: 12.26 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0316/0.3793, allocations: 4.193 MB / 0.5721 GB, free: 8.102 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.01/11.39, allocations: 8 kB / 0.5721 GB, free: 8.094 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0198452 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test60.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable t_new.y[1] in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.715289421998023]