Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.001549/0.001549, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002309/0.002309, allocations: 210.8 kB / 23.73 MB, free: 4.387 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.556/1.556, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2323/0.2323, allocations: 46.96 MB / 360.9 MB, free: 4.059 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.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.88 kB / 0.4961 GB, free: 7.723 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3184, allocations: 66.03 MB / 0.5606 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003321/0.3217, allocations: 1.597 MB / 0.5622 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3236, allocations: 1.232 MB / 0.5634 GB, free: 1.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.514e-05/0.3237, allocations: 3.938 kB / 0.5634 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.3239, allocations: 27.8 kB / 0.5634 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003299/0.3242, allocations: 91.61 kB / 0.5635 GB, free: 1.305 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.3245, allocations: 107.2 kB / 0.5636 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3247, allocations: 79.75 kB / 0.5637 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.244e-05/0.3247, allocations: 5.828 kB / 0.5637 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.652e-05/0.3248, allocations: 31.8 kB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.3249, allocations: 35.83 kB / 0.5637 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3249, allocations: 4 kB / 0.5637 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.3251, allocations: 79.97 kB / 0.5638 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.3252, allocations: 23.91 kB / 0.5638 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.146e-05/0.3252, allocations: 19.88 kB / 0.5639 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002513/0.3254, allocations: 139.5 kB / 0.564 GB, free: 0.793 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3254, allocations: 4 kB / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3254, allocations: 0 / 0.564 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.3254, allocations: 0 / 0.564 GB, free: 0.7891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005008/0.3259, allocations: 321.7 kB / 0.5643 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.326, allocations: 12.03 kB / 0.5643 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.266e-05/0.326, allocations: 34.73 kB / 0.5643 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.34e-05/0.3261, allocations: 16.77 kB / 0.5644 GB, free: 384 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3263, allocations: 141.3 kB / 0.5645 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.467e-06/0.3263, allocations: 4.375 kB / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.641e-05/0.3263, allocations: 384 / 0.5645 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001788/0.3265, allocations: 101 kB / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3265, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.804e-06/0.3265, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3265, allocations: 0 / 0.5646 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.521e-05/0.3266, allocations: 31.91 kB / 0.5646 GB, free: 64 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003955/0.327, allocations: 240 kB / 0.5649 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3272, allocations: 54.55 kB / 0.5649 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.663e-05/0.3272, allocations: 12.86 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.3273, allocations: 0 / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3273, allocations: 34.64 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3273, allocations: 3.938 kB / 0.565 GB, free: 15.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005418/0.3278, allocations: 149.5 kB / 0.5651 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.146e-05/0.3279, allocations: 77.11 kB / 0.5652 GB, free: 15.41 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.3281, allocations: 152.4 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/0.3281, allocations: 25.7 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.321e-05/0.3281, allocations: 100.1 kB / 0.5654 GB, free: 15.12 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3282, allocations: 23.84 kB / 0.5655 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.3282, allocations: 17.72 kB / 0.5655 GB, free: 15.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.3284, allocations: 318.8 kB / 0.5658 GB, free: 14.76 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.118e-05/0.3284, allocations: 19.98 kB / 0.5658 GB, free: 14.74 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/0.3285, allocations: 67.34 kB / 0.5659 GB, free: 14.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.3287, allocations: 60.84 kB / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.3287, allocations: 0 / 0.5659 GB, free: 14.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001986/0.3289, allocations: 77.62 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/0.3289, allocations: 11.94 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.3289, allocations: 0 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.3289, allocations: 288 / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.828e-05/0.329, allocations: 15.98 kB / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.329, allocations: 0 / 0.566 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.196e-05/0.329, allocations: 15.92 kB / 0.566 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.329, allocations: 7.938 kB / 0.566 GB, free: 14.46 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.119e-05/0.3291, allocations: 113.8 kB / 0.5662 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.3292, allocations: 11.94 kB / 0.5662 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002629/0.3294, allocations: 102.3 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3294, allocations: 7.938 kB / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.3294, allocations: 0 / 0.5663 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3294, allocations: 3.938 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004568/0.3299, allocations: 317.7 kB / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3299, allocations: 0 / 0.5666 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.33, allocations: 15.98 kB / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.33, allocations: 0 / 0.5666 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.944e-05/0.33, allocations: 3.938 kB / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.33, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.33, allocations: 0 / 0.5666 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.3302, allocations: 187.4 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.3303, allocations: 7.953 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3303, allocations: 11.92 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.3303, allocations: 4 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.264e-05/0.3304, allocations: 4 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.3304, allocations: 3.984 kB / 0.5668 GB, free: 13.59 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.3305, allocations: 113.8 kB / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3305, allocations: 0 / 0.5669 GB, free: 13.48 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.3308, allocations: 43.86 kB / 0.567 GB, free: 13.44 MB / 414.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.002407/0.3332, allocations: 1.144 MB / 0.5681 GB, free: 12.49 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.3334, allocations: 55.91 kB / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3334, allocations: 0 / 0.5681 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.387e-05/0.3335, allocations: 27.92 kB / 0.5682 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.3339, allocations: 19.08 kB / 0.5682 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.3357, allocations: 1.443 MB / 0.5696 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.998e-05/0.3357, allocations: 87.06 kB / 0.5697 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.626e-05/0.3358, allocations: 19.98 kB / 0.5697 GB, free: 10.75 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.3359, allocations: 27.42 kB / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3359, allocations: 0 / 0.5697 GB, free: 10.72 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03154/0.3674, allocations: 3.86 MB / 0.5735 GB, free: 6.895 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/11.95, allocations: 3.5 kB / 0.5735 GB, free: 6.895 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.019992 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.193271044641733]