Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.001352/0.001352, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001466/0.001466, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2199/0.2199, allocations: 46.95 MB / 360.9 MB, free: 4.02 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.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test32,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 75.88 kB / 0.4961 GB, free: 7.672 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 66.03 MB / 0.5606 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003188/0.3334, allocations: 1.617 MB / 0.5622 GB, free: 2.578 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3345, allocations: 0.5349 MB / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.942e-05/0.3346, allocations: 0 / 0.5627 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3349, allocations: 111.7 kB / 0.5628 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.3352, allocations: 115.6 kB / 0.5629 GB, free: 1.816 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.3355, allocations: 119.4 kB / 0.563 GB, free: 1.703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.3357, allocations: 91.8 kB / 0.5631 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.901e-05/0.3358, allocations: 13.81 kB / 0.5631 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.317e-05/0.3358, allocations: 39.84 kB / 0.5632 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.336, allocations: 71.8 kB / 0.5632 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.336, allocations: 4 kB / 0.5633 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.412e-05/0.3361, allocations: 47.97 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.673e-05/0.3361, allocations: 35.8 kB / 0.5633 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.3362, allocations: 23.8 kB / 0.5634 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.3364, allocations: 119.4 kB / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3364, allocations: 0 / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3364, allocations: 0 / 0.5635 GB, free: 1.266 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.3364, allocations: 0 / 0.5635 GB, free: 1.266 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.0004899/0.3369, allocations: 353.5 kB / 0.5638 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.3369, allocations: 8.031 kB / 0.5638 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.527e-05/0.3369, allocations: 42.67 kB / 0.5639 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.337, allocations: 12.89 kB / 0.5639 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.3372, allocations: 155 kB / 0.564 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3372, allocations: 8.359 kB / 0.564 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3372, allocations: 4.375 kB / 0.564 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.3374, allocations: 57.61 kB / 0.5641 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3374, allocations: 3.953 kB / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-06/0.3374, allocations: 0 / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3374, allocations: 0 / 0.5641 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.3375, allocations: 31.97 kB / 0.5641 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004284/0.3379, allocations: 279.8 kB / 0.5644 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001169/0.338, allocations: 46.56 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3381, allocations: 20.94 kB / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3381, allocations: 0 / 0.5644 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.3382, allocations: 30.56 kB / 0.5645 GB, free: 100 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 8.42e-07/0.3382, allocations: 4 kB / 0.5645 GB, free: 96 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009207/0.3391, allocations: 249.1 kB / 0.5647 GB, free: 15.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.3391, allocations: 55.34 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002634/0.3394, allocations: 258.9 kB / 0.565 GB, free: 15.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.3394, allocations: 29.7 kB / 0.565 GB, free: 15.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.266e-05/0.3395, allocations: 108.1 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3395, allocations: 27.75 kB / 0.5652 GB, free: 15.34 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.3395, allocations: 25.78 kB / 0.5652 GB, free: 15.31 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3397, allocations: 326.8 kB / 0.5655 GB, free: 14.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.067e-05/0.3398, allocations: 27.97 kB / 0.5655 GB, free: 14.95 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.635e-05/0.3399, allocations: 35.97 kB / 0.5656 GB, free: 14.92 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/0.34, allocations: 73.06 kB / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.34, allocations: 0 / 0.5656 GB, free: 14.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002314/0.3402, allocations: 121.5 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.3403, allocations: 4 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.3403, allocations: 0 / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.3403, allocations: 3.938 kB / 0.5658 GB, free: 14.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.3404, allocations: 27.98 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.3404, allocations: 3.938 kB / 0.5658 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.489e-05/0.3404, allocations: 8 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-06/0.3404, allocations: 0 / 0.5658 GB, free: 14.67 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 (8): * Single equations (assignments): 8 * 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.0001126/0.3405, allocations: 133.8 kB / 0.5659 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.547e-05/0.3406, allocations: 11.91 kB / 0.5659 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002928/0.3409, allocations: 135 kB / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.3409, allocations: 0 / 0.5661 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3409, allocations: 3.938 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.3409, allocations: 4.422 kB / 0.5661 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005575/0.3414, allocations: 394.3 kB / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.3414, allocations: 0 / 0.5665 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.364e-05/0.3415, allocations: 23.92 kB / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3415, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3415, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3415, allocations: 0 / 0.5665 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3415, allocations: 4 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002851/0.3418, allocations: 224.2 kB / 0.5667 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.3418, allocations: 15.88 kB / 0.5667 GB, free: 13.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.3419, allocations: 4 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.328e-05/0.3419, allocations: 8 kB / 0.5667 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.342, allocations: 3.984 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-06/0.342, allocations: 4 kB / 0.5667 GB, free: 13.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001582/0.3421, allocations: 187.2 kB / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3421, allocations: 0 / 0.5669 GB, free: 13.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3424, allocations: 23.94 kB / 0.5669 GB, free: 13.42 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002211/0.3446, allocations: 1.146 MB / 0.5681 GB, free: 12.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.3448, allocations: 75.89 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3448, allocations: 4 kB / 0.5681 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.148e-05/0.3449, allocations: 35.97 kB / 0.5682 GB, free: 12.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.3453, allocations: 28.3 kB / 0.5682 GB, free: 12.33 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.3475, allocations: 1.807 MB / 0.57 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.3476, allocations: 105.8 kB / 0.5701 GB, free: 10.31 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.744e-05/0.3477, allocations: 24.95 kB / 0.5701 GB, free: 10.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.3478, allocations: 35.42 kB / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3478, allocations: 0 / 0.5701 GB, free: 10.25 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.3784, allocations: 3.917 MB / 0.5739 GB, free: 6.375 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.18/11.56, allocations: 10.2 kB / 0.5739 GB, free: 6.367 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv --start-time 7.99 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00240104 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTable1Dv_Test32.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! Error: Could not read variable d2_t_new.y in file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv. Warning: Get data of variable d2_t_new.y from file ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test32_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.622633900027722]