Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.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.0008233/0.0008233, 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.0009014/0.0009014, 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.8912/0.8912, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.2552/0.2552, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 442.2 MB, free: 1.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.513e-05, allocations: 2.281 kB / 442.2 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.1914/0.1914, allocations: 1.775 MB / 443.9 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004387/0.1919, allocations: 152.9 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.1919, allocations: 2.906 kB / 444.1 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.192, allocations: 24.48 kB / 444.1 MB, free: 43.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.1921, allocations: 60.03 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001308/0.1922, allocations: 37.02 kB / 444.2 MB, free: 43.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.1923, allocations: 191.9 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1925, allocations: 39.77 kB / 444.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.1926, allocations: 108.9 kB / 444.5 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.1927, allocations: 52.81 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.734e-05/0.1927, allocations: 16.91 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.691e-05/0.1927, allocations: 14.56 kB / 444.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.1927, allocations: 37.7 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.1928, allocations: 54.39 kB / 444.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.1929, allocations: 190.7 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1929, allocations: 3.125 kB / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1929, allocations: 0 / 444.9 MB, free: 43.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.1929, allocations: 0.8438 kB / 444.9 MB, free: 43.14 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000355/0.1933, allocations: 375 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.1933, allocations: 11.06 kB / 445.3 MB, free: 42.83 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.1934, allocations: 51.38 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.885e-05/0.1934, allocations: 17.62 kB / 445.3 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.1935, allocations: 143.7 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.1935, allocations: 14.17 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1936, allocations: 19.73 kB / 445.5 MB, free: 42.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.1937, allocations: 174 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1938, allocations: 6.859 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.1938, allocations: 4.125 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1938, allocations: 9.875 kB / 445.7 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.1939, allocations: 85.7 kB / 445.8 MB, free: 42.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1944, allocations: 0.5166 MB / 446.3 MB, free: 42.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.1945, allocations: 133.7 kB / 446.4 MB, free: 42.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.988e-05/0.1946, allocations: 53.95 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1946, allocations: 2.938 kB / 446.5 MB, free: 42.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.403e-05/0.1946, allocations: 37.34 kB / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1946, allocations: 0 / 446.5 MB, free: 42.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004652/0.195, allocations: 230.9 kB / 446.8 MB, free: 42.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.437e-05/0.1951, allocations: 79.95 kB / 446.8 MB, free: 41.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.214e-05/0.1951, allocations: 132.8 kB / 447 MB, free: 41.86 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.1951, allocations: 28.83 kB / 447 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.1952, allocations: 130.7 kB / 447.1 MB, free: 41.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.1952, allocations: 55.88 kB / 447.2 MB, free: 41.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1952, allocations: 38.34 kB / 447.2 MB, free: 41.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.467e-05/0.1953, allocations: 328.1 kB / 447.5 MB, free: 41.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.104e-05/0.1953, allocations: 40.23 kB / 447.6 MB, free: 41.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.638e-05/0.1954, allocations: 115.4 kB / 447.7 MB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.1955, allocations: 153.9 kB / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1955, allocations: 0 / 447.8 MB, free: 41.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002139/0.1957, allocations: 221.2 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.1957, allocations: 6.031 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1957, allocations: 2.844 kB / 448.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001584/0.1959, allocations: 55.78 kB / 448.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.196, allocations: 34.28 kB / 448.1 MB, free: 40.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009833/0.1969, allocations: 2.773 MB / 450.9 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.729e-05/0.197, allocations: 21.86 kB / 450.9 MB, free: 38.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.197, allocations: 5.5 kB / 450.9 MB, free: 38.19 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.155e-05/0.1971, allocations: 130.2 kB / 451.1 MB, free: 38.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1971, allocations: 17.66 kB / 451.1 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.1971, allocations: 12.78 kB / 451.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1971, allocations: 8.234 kB / 451.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1971, allocations: 6.781 kB / 451.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1971, allocations: 0 / 451.1 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.1973, allocations: 190.7 kB / 451.3 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1973, allocations: 0 / 451.3 MB, free: 37.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.815e-05/0.1974, allocations: 34.05 kB / 451.3 MB, free: 37.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.702e-05/0.1974, allocations: 47.38 kB / 451.4 MB, free: 37.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.1975, allocations: 4 kB / 451.4 MB, free: 37.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007953/0.1982, allocations: 2.779 MB / 454.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1983, allocations: 0 / 454.2 MB, free: 35.08 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1985, allocations: 372.7 kB / 454.5 MB, free: 34.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.807e-06/0.1985, allocations: 10.83 kB / 454.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.1985, allocations: 2.906 kB / 454.5 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.657e-05/0.1986, allocations: 4.531 kB / 454.6 MB, free: 34.79 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.386e-05/0.1986, allocations: 16.28 kB / 454.6 MB, free: 34.78 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.1986, allocations: 7.094 kB / 454.6 MB, free: 34.78 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.022e-05/0.1986, allocations: 98.19 kB / 454.7 MB, free: 34.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1986, allocations: 0 / 454.7 MB, free: 34.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002952/0.1989, allocations: 56.11 kB / 454.7 MB, free: 34.68 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.w,inertia2.phi,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * 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 (10): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003048/0.1992, allocations: 0.9082 MB / 455.6 MB, free: 33.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003098/0.1995, allocations: 343.6 kB / 456 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1995, allocations: 0 / 456 MB, free: 33.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.1996, allocations: 284.7 kB / 456.2 MB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.2, allocations: 28.94 kB / 456.3 MB, free: 33.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2014, allocations: 2.2 MB / 458.5 MB, free: 31.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.251e-05/0.2014, allocations: 110 kB / 458.6 MB, free: 31.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.161e-05/0.2015, allocations: 18.8 kB / 458.6 MB, free: 31.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.029e-05/0.2015, allocations: 41.59 kB / 458.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2015, allocations: 0 / 458.6 MB, free: 31.41 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.2237, allocations: 4.555 MB / 463.2 MB, free: 30.22 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.269/7.493, allocations: 26.97 kB / 463.2 MB, free: 30.2 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_1_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable inertia1.phi in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.1.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.60131262615323]