Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.0008272/0.0008272, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008012/0.0008012, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.876/0.876, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2378/0.2378, allocations: 32.79 MB / 293.5 MB, free: 1.254 MB / 266.7 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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 439.6 MB, free: 4.262 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.315e-05/1.45e-05, allocations: 2.281 kB / 439.6 MB, free: 4.258 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.00186/0.001874, allocations: 1.601 MB / 441.2 MB, free: 2.645 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006511/0.002526, allocations: 0.5491 MB / 441.8 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.002579, allocations: 0 / 441.8 MB, free: 2.09 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.002776, allocations: 27.78 kB / 441.8 MB, free: 2.062 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002358/0.003011, allocations: 83.56 kB / 441.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002284/0.00324, allocations: 113.2 kB / 442 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001381/0.003378, allocations: 79.75 kB / 442 MB, free: 1.793 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.003467, allocations: 8 kB / 442.1 MB, free: 1.785 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.627e-05/0.003523, allocations: 35.91 kB / 442.1 MB, free: 1.75 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.521e-05/0.003588, allocations: 23.91 kB / 442.1 MB, free: 1.727 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.368e-05/0.003602, allocations: 4 kB / 442.1 MB, free: 1.723 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.003735, allocations: 95.81 kB / 442.2 MB, free: 1.629 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.003782, allocations: 15.98 kB / 442.2 MB, free: 1.613 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.578e-05/0.003808, allocations: 23.86 kB / 442.3 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000199/0.004007, allocations: 159.4 kB / 442.4 MB, free: 1.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.00401, allocations: 3.984 kB / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.00401, allocations: 0 / 442.4 MB, free: 1.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.004014, allocations: 0 / 442.4 MB, free: 1.43 MB / 410.7 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.0003593/0.004374, allocations: 317.7 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.004408, allocations: 12.03 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.566e-05/0.004433, allocations: 30.75 kB / 442.8 MB, free: 1.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.769e-05/0.004461, allocations: 12.89 kB / 442.8 MB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.004596, allocations: 133.6 kB / 442.9 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.165e-06/0.004604, allocations: 8.375 kB / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.00462, allocations: 384 / 442.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.004748, allocations: 101.5 kB / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.004757, allocations: 192 / 443 MB, free: 0.7461 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.004765, allocations: 3.938 kB / 443 MB, free: 0.7422 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.00477, allocations: 3.984 kB / 443 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.004823, allocations: 23.98 kB / 443 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003049/0.005128, allocations: 260 kB / 443.3 MB, free: 428 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.653e-05/0.005204, allocations: 50.44 kB / 443.3 MB, free: 368 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.282e-05/0.005237, allocations: 28.94 kB / 443.4 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.859e-05/0.005256, allocations: 0 / 443.4 MB, free: 336 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.005274, allocations: 34.56 kB / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.005275, allocations: 0 / 443.4 MB, free: 292 kB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000406/0.005681, allocations: 181.3 kB / 443.6 MB, free: 104 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.005714, allocations: 77.11 kB / 443.7 MB, free: 8 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1615/0.1672, allocations: 153.5 kB / 443.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.1673, allocations: 27.08 kB / 443.8 MB, free: 46.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.1673, allocations: 93.78 kB / 443.9 MB, free: 46.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.1673, allocations: 26.53 kB / 444 MB, free: 46.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/0.1674, allocations: 22.66 kB / 444 MB, free: 46.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.1674, allocations: 321.8 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.879e-05/0.1675, allocations: 30.05 kB / 444.3 MB, free: 45.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.678e-05/0.1676, allocations: 70.12 kB / 444.4 MB, free: 45.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.1677, allocations: 77.81 kB / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1677, allocations: 0 / 444.5 MB, free: 45.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001424/0.1678, allocations: 110.7 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.1678, allocations: 11.22 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1678, allocations: 0 / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1678, allocations: 0 / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.073e-05/0.1679, allocations: 17 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.1679, allocations: 0 / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.035e-05/0.168, allocations: 13.27 kB / 444.6 MB, free: 45.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.241e-06/0.168, allocations: 2.25 kB / 444.6 MB, free: 45.86 MB / 410.7 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 4.986e-05/0.168, allocations: 118.8 kB / 444.7 MB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.886e-05/0.168, allocations: 9.547 kB / 444.7 MB, free: 45.74 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.1682, allocations: 118.9 kB / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1682, allocations: 10.08 kB / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1682, allocations: 0 / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1682, allocations: 0.9844 kB / 444.9 MB, free: 45.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002731/0.1685, allocations: 357.7 kB / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.1685, allocations: 3.25 kB / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.269e-05/0.1685, allocations: 16.73 kB / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1685, allocations: 0 / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1685, allocations: 3.062 kB / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1685, allocations: 0 / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1685, allocations: 0 / 445.2 MB, free: 45.44 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.1686, allocations: 202.6 kB / 445.4 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.768e-06/0.1687, allocations: 17.27 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1687, allocations: 5.594 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.727e-05/0.1687, allocations: 2.938 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.588e-05/0.1687, allocations: 6.172 kB / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-06/0.1687, allocations: 0 / 445.5 MB, free: 45.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.287e-05/0.1688, allocations: 117.4 kB / 445.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1688, allocations: 0 / 445.6 MB, free: 45.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002033/0.169, allocations: 40.89 kB / 445.6 MB, free: 45.23 MB / 410.7 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.00099/0.17, allocations: 1.175 MB / 446.8 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1701, allocations: 72.05 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1701, allocations: 2.531 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.105e-05/0.1702, allocations: 31.75 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002659/0.1704, allocations: 14.94 kB / 446.9 MB, free: 44.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008609/0.1713, allocations: 1.543 MB / 448.5 MB, free: 43.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.1713, allocations: 80.2 kB / 448.5 MB, free: 43.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.706e-05/0.1714, allocations: 27.89 kB / 448.6 MB, free: 43.17 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.717e-05/0.1714, allocations: 35.08 kB / 448.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1714, allocations: 0 / 448.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01289/0.1843, allocations: 4.268 MB / 452.9 MB, free: 41.67 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.051/7.235, allocations: 17.92 kB / 452.9 MB, free: 41.66 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079968 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.251536706462502]