Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009075/0.0009075, allocations: 79.7 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.001117/0.001117, allocations: 174.3 kB / 23.95 MB, free: 0.6094 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.943/0.943, allocations: 177.1 MB / 204.2 MB, free: 5.734 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.2594/0.2594, allocations: 32.79 MB / 293.5 MB, free: 1.23 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.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 439.6 MB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.6e-05, allocations: 2.844 kB / 439.6 MB, free: 4.242 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.002004/0.00202, allocations: 1.597 MB / 441.2 MB, free: 2.633 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.003164, allocations: 1.247 MB / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.465e-05/0.003229, allocations: 0 / 442.4 MB, free: 1.379 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.003455, allocations: 31.78 kB / 442.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.00376, allocations: 95.42 kB / 442.6 MB, free: 1.254 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.004, allocations: 103.7 kB / 442.7 MB, free: 1.152 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001254/0.004125, allocations: 75.75 kB / 442.7 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.165e-05/0.004217, allocations: 11.98 kB / 442.7 MB, free: 1.066 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.586e-05/0.004273, allocations: 31.91 kB / 442.8 MB, free: 1.035 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.646e-05/0.004359, allocations: 27.91 kB / 442.8 MB, free: 1.008 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.004374, allocations: 4 kB / 442.8 MB, free: 1.004 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.004512, allocations: 87.88 kB / 442.9 MB, free: 0.918 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.61e-05/0.004558, allocations: 15.94 kB / 442.9 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.004586, allocations: 19.92 kB / 442.9 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.004782, allocations: 147.5 kB / 443.1 MB, free: 0.7383 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004786, allocations: 4 kB / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.004787, allocations: 0 / 443.1 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.00479, allocations: 0 / 443.1 MB, free: 0.7344 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.000379/0.005169, allocations: 325.6 kB / 443.4 MB, free: 396 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.005208, allocations: 12.03 kB / 443.4 MB, free: 384 kB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.005236, allocations: 34.73 kB / 443.4 MB, free: 340 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.005265, allocations: 8.891 kB / 443.5 MB, free: 332 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003661/0.005632, allocations: 133.7 kB / 443.6 MB, free: 172 kB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.434e-06/0.005639, allocations: 4.375 kB / 443.6 MB, free: 168 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.774e-05/0.005657, allocations: 4.375 kB / 443.6 MB, free: 164 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.005785, allocations: 93.59 kB / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.005792, allocations: 192 / 443.7 MB, free: 52 kB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.005803, allocations: 7.938 kB / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.005807, allocations: 0 / 443.7 MB, free: 44 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.389e-05/0.005861, allocations: 23.97 kB / 443.7 MB, free: 20 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1684/0.1743, allocations: 242.7 kB / 444 MB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.1745, allocations: 48.16 kB / 444 MB, free: 45.85 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/0.1746, allocations: 19.66 kB / 444 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.1746, allocations: 0 / 444 MB, free: 45.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.1746, allocations: 39.16 kB / 444.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 2.034e-06/0.1746, allocations: 1.25 kB / 444.1 MB, free: 45.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004575/0.1751, allocations: 146.9 kB / 444.2 MB, free: 45.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.1751, allocations: 77.67 kB / 444.3 MB, free: 45.68 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1752, allocations: 152.3 kB / 444.4 MB, free: 45.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.115e-06/0.1752, allocations: 26.7 kB / 444.5 MB, free: 45.55 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.1752, allocations: 94.09 kB / 444.5 MB, free: 45.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.472e-05/0.1753, allocations: 16.91 kB / 444.6 MB, free: 45.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.1753, allocations: 21.88 kB / 444.6 MB, free: 45.45 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.95e-05/0.1754, allocations: 317.2 kB / 444.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.751e-05/0.1754, allocations: 27.41 kB / 444.9 MB, free: 45.13 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.1755, allocations: 62.27 kB / 445 MB, free: 45.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/0.1756, allocations: 51.77 kB / 445 MB, free: 45.08 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1756, allocations: 0 / 445 MB, free: 45.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001046/0.1757, allocations: 92.94 kB / 445.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1757, allocations: 11.84 kB / 445.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1757, allocations: 3.281 kB / 445.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.1757, allocations: 2.625 kB / 445.1 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.313e-05/0.1757, allocations: 15.42 kB / 445.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1757, allocations: 0 / 445.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.719e-05/0.1758, allocations: 8.828 kB / 445.2 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.1758, allocations: 0 / 445.2 MB, free: 45.04 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 (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 5.124e-05/0.1758, allocations: 120 kB / 445.3 MB, free: 44.93 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.1758, allocations: 14.45 kB / 445.3 MB, free: 44.92 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001519/0.176, allocations: 95.2 kB / 445.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.176, allocations: 0 / 445.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.176, allocations: 5.75 kB / 445.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.176, allocations: 0 / 445.4 MB, free: 44.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.1763, allocations: 328.8 kB / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.1763, allocations: 0 / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.704e-05/0.1763, allocations: 16 kB / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.1763, allocations: 0 / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.1763, allocations: 2.844 kB / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.1763, allocations: 3.125 kB / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1763, allocations: 0 / 445.7 MB, free: 44.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.1764, allocations: 187 kB / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.1764, allocations: 10.55 kB / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.1764, allocations: 0 / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.063e-05/0.1765, allocations: 9.812 kB / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.1765, allocations: 6.219 kB / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1765, allocations: 2.906 kB / 445.9 MB, free: 44.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.982e-05/0.1766, allocations: 111.9 kB / 446.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1766, allocations: 2.344 kB / 446.1 MB, free: 44.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.1768, allocations: 40.42 kB / 446.1 MB, free: 44.4 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 (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.001092/0.1779, allocations: 1.146 MB / 447.2 MB, free: 43.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001439/0.178, allocations: 59.05 kB / 447.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.178, allocations: 2.594 kB / 447.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.967e-05/0.1781, allocations: 29.31 kB / 447.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.1783, allocations: 18.41 kB / 447.3 MB, free: 43.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.1793, allocations: 1.452 MB / 448.8 MB, free: 42.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.1794, allocations: 88.36 kB / 448.9 MB, free: 42.44 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 5.655e-05/0.1794, allocations: 15.73 kB / 448.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.647e-05/0.1795, allocations: 29.64 kB / 448.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1795, allocations: 0 / 448.9 MB, free: 42.43 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01689/0.1964, allocations: 4.024 MB / 453 MB, free: 40.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.02/7.216, allocations: 11.31 kB / 453 MB, free: 40.98 MB / 410.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Tables_CombiTable1Dv_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv. Warning: Get data of variable t_new.y[1] from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv failed! Error: Could not read variable clock.y in file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv. Warning: Get data of variable clock.y from file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test23_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.415775457397103]