Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.00192/0.00192, 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.002307/0.002307, allocations: 210.6 kB / 23.72 MB, free: 4.391 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.475/1.475, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2365/0.2365, allocations: 46.95 MB / 360.9 MB, free: 4.039 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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3325, allocations: 66.04 MB / 0.5606 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.004318/0.3368, allocations: 1.645 MB / 0.5622 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002273/0.3391, allocations: 1.271 MB / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.748e-05/0.3392, allocations: 0 / 0.5635 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.3394, allocations: 19.86 kB / 0.5635 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003888/0.3398, allocations: 91.55 kB / 0.5636 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004831/0.3403, allocations: 175.2 kB / 0.5637 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.3405, allocations: 87.69 kB / 0.5638 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3406, allocations: 9.828 kB / 0.5638 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.181e-05/0.3407, allocations: 31.86 kB / 0.5639 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3408, allocations: 35.83 kB / 0.5639 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.981e-05/0.3408, allocations: 8 kB / 0.5639 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.341, allocations: 95.88 kB / 0.564 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.3411, allocations: 23.92 kB / 0.564 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3411, allocations: 15.88 kB / 0.564 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003477/0.3415, allocations: 163.4 kB / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3415, allocations: 0 / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3415, allocations: 0 / 0.5642 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.3415, allocations: 0 / 0.5642 GB, free: 0.5508 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000613/0.3421, allocations: 345.5 kB / 0.5645 GB, free: 188 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.3422, allocations: 12.03 kB / 0.5645 GB, free: 176 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.766e-05/0.3422, allocations: 38.75 kB / 0.5646 GB, free: 128 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.3423, allocations: 12.88 kB / 0.5646 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.3425, allocations: 146.3 kB / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.3425, allocations: 384 / 0.5647 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.3425, allocations: 4.375 kB / 0.5647 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.3428, allocations: 105 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3428, allocations: 3.938 kB / 0.5648 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3428, allocations: 4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.3428, allocations: 4 kB / 0.5648 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3429, allocations: 39.95 kB / 0.5649 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004606/0.3434, allocations: 275.9 kB / 0.5651 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.3435, allocations: 50.42 kB / 0.5652 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.374e-05/0.3436, allocations: 24.94 kB / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.3436, allocations: 0 / 0.5652 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3437, allocations: 38.56 kB / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.3437, allocations: 0 / 0.5652 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008369/0.3445, allocations: 233.3 kB / 0.5655 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3446, allocations: 85.11 kB / 0.5655 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.3447, allocations: 159.9 kB / 0.5657 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.3448, allocations: 25.7 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.439e-05/0.3448, allocations: 104.1 kB / 0.5658 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.3449, allocations: 23.78 kB / 0.5658 GB, free: 14.66 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.3449, allocations: 17.72 kB / 0.5659 GB, free: 14.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3451, allocations: 322.8 kB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.3452, allocations: 35.97 kB / 0.5662 GB, free: 14.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.3453, allocations: 87.31 kB / 0.5663 GB, free: 14.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002436/0.3456, allocations: 88.83 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.3456, allocations: 0 / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003145/0.3459, allocations: 129.5 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.3459, allocations: 6.656 kB / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3459, allocations: 0 / 0.5665 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3459, allocations: 4 kB / 0.5665 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3461, allocations: 15.98 kB / 0.5665 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.3461, allocations: 4 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.747e-05/0.3461, allocations: 19.92 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.3461, allocations: 4 kB / 0.5665 GB, free: 13.91 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 (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.0001096/0.3463, allocations: 117.8 kB / 0.5667 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.517e-05/0.3463, allocations: 15.91 kB / 0.5667 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.3467, allocations: 138.3 kB / 0.5668 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.3467, allocations: 8 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.3467, allocations: 0 / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.3467, allocations: 3.938 kB / 0.5668 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006076/0.3473, allocations: 377.9 kB / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3473, allocations: 0 / 0.5672 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.36e-05/0.3474, allocations: 23.97 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3474, allocations: 0 / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.3474, allocations: 8.219 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3474, allocations: 8 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3474, allocations: 0 / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.3478, allocations: 215.4 kB / 0.5674 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.3478, allocations: 11.94 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.3478, allocations: 7.922 kB / 0.5674 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3479, allocations: 12 kB / 0.5675 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.186e-05/0.348, allocations: 11.86 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.684e-06/0.348, allocations: 8 kB / 0.5675 GB, free: 12.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001074/0.3481, allocations: 115.2 kB / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3481, allocations: 0 / 0.5676 GB, free: 12.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.3484, allocations: 47.8 kB / 0.5676 GB, free: 12.71 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 (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 Backend phase and start with SimCode phase: time 0.002441/0.3508, allocations: 1.177 MB / 0.5688 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003242/0.3511, allocations: 99.84 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3511, allocations: 0 / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.3513, allocations: 51.89 kB / 0.5689 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.3516, allocations: 19.92 kB / 0.5689 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.3539, allocations: 1.651 MB / 0.5706 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.597e-05/0.354, allocations: 87.75 kB / 0.5706 GB, free: 9.727 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.3541, allocations: 28.41 kB / 0.5707 GB, free: 9.699 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.669e-05/0.3542, allocations: 27.42 kB / 0.5707 GB, free: 9.672 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3542, allocations: 0 / 0.5707 GB, free: 9.672 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03322/0.3874, allocations: 4.211 MB / 0.5748 GB, free: 5.492 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.76, allocations: 11.62 kB / 0.5748 GB, free: 5.484 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0119952 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock1.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock1.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! Error: Could not read variable clock2.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv. Warning: Get data of variable clock2.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.930539850145578]