Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.0009792/0.0009792, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001041/0.001041, allocations: 170.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.9113/0.9113, allocations: 177.1 MB / 204.3 MB, free: 5.73 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.2482/0.2482, allocations: 32.8 MB / 293.5 MB, free: 1.242 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.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 439.6 MB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.997e-05/2.141e-05, allocations: 3.969 kB / 439.6 MB, free: 4.281 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.001975/0.001996, allocations: 1.788 MB / 441.4 MB, free: 2.48 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003564/0.002353, allocations: 147.5 kB / 441.5 MB, free: 2.336 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.002422, allocations: 7.938 kB / 441.5 MB, free: 2.328 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.729e-05/0.002479, allocations: 23.78 kB / 441.5 MB, free: 2.305 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000114/0.002593, allocations: 55.48 kB / 441.6 MB, free: 2.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.002731, allocations: 35.95 kB / 441.6 MB, free: 2.215 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.002879, allocations: 191 kB / 441.8 MB, free: 2.027 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001313/0.00301, allocations: 49.69 kB / 441.9 MB, free: 1.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.003124, allocations: 99.84 kB / 442 MB, free: 1.883 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.003205, allocations: 55.81 kB / 442 MB, free: 1.828 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.894e-05/0.003234, allocations: 16 kB / 442 MB, free: 1.812 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.722e-05/0.003251, allocations: 12 kB / 442 MB, free: 1.801 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.708e-05/0.003278, allocations: 31.89 kB / 442.1 MB, free: 1.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.003325, allocations: 67.78 kB / 442.1 MB, free: 1.703 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.003509, allocations: 183.4 kB / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003511, allocations: 0 / 442.3 MB, free: 1.523 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.003512, allocations: 4 kB / 442.3 MB, free: 1.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.003517, allocations: 0 / 442.3 MB, free: 1.52 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.0004711/0.003988, allocations: 381.9 kB / 442.7 MB, free: 1.109 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.00403, allocations: 8.031 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.315e-05/0.004074, allocations: 50.73 kB / 442.7 MB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.739e-05/0.004111, allocations: 20.84 kB / 442.8 MB, free: 1.023 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001717/0.004283, allocations: 145.5 kB / 442.9 MB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.004296, allocations: 12.7 kB / 442.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.004328, allocations: 20.33 kB / 442.9 MB, free: 0.8242 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.004555, allocations: 170.1 kB / 443.1 MB, free: 0.6484 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.004568, allocations: 4.188 kB / 443.1 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.004583, allocations: 8.375 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004591, allocations: 8.125 kB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.004709, allocations: 84.61 kB / 443.2 MB, free: 0.5469 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1869/0.1916, allocations: 0.517 MB / 443.7 MB, free: 46.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1919, allocations: 131.7 kB / 443.9 MB, free: 46.05 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.648e-05/0.1919, allocations: 45.27 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1919, allocations: 3.125 kB / 443.9 MB, free: 46.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.1919, allocations: 41.3 kB / 443.9 MB, free: 46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.164e-06/0.192, allocations: 0 / 443.9 MB, free: 46 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.000512/0.1925, allocations: 219.1 kB / 444.2 MB, free: 45.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.1925, allocations: 84.33 kB / 444.2 MB, free: 45.86 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.116e-05/0.1926, allocations: 129.8 kB / 444.4 MB, free: 45.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.1926, allocations: 28.27 kB / 444.4 MB, free: 45.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/0.1926, allocations: 136.2 kB / 444.5 MB, free: 45.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.029e-05/0.1926, allocations: 57.67 kB / 444.6 MB, free: 45.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.1927, allocations: 41.2 kB / 444.6 MB, free: 45.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.929e-05/0.1927, allocations: 321.1 kB / 444.9 MB, free: 45.29 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.982e-05/0.1927, allocations: 35.05 kB / 445 MB, free: 45.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.316e-05/0.1928, allocations: 112.7 kB / 445.1 MB, free: 45.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1929, allocations: 151.8 kB / 445.2 MB, free: 45.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1929, allocations: 2.5 kB / 445.2 MB, free: 45.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002003/0.1931, allocations: 236.3 kB / 445.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.1931, allocations: 8.922 kB / 445.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1931, allocations: 2.969 kB / 445.5 MB, free: 45.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.1933, allocations: 50.39 kB / 445.5 MB, free: 45.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.767e-05/0.1934, allocations: 33.09 kB / 445.6 MB, free: 45.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/0.1943, allocations: 2.782 MB / 448.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.1943, allocations: 13.69 kB / 448.3 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.1943, allocations: 12.34 kB / 448.4 MB, free: 42.33 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.087e-05/0.1944, allocations: 134.4 kB / 448.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.489e-05/0.1944, allocations: 13.64 kB / 448.5 MB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.644e-05/0.1944, allocations: 21.92 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1944, allocations: 2.781 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1944, allocations: 0 / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1944, allocations: 3.562 kB / 448.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000147/0.1946, allocations: 197.1 kB / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1946, allocations: 0 / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.595e-05/0.1947, allocations: 24.39 kB / 448.7 MB, free: 42.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-05/0.1948, allocations: 51.09 kB / 448.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/0.1948, allocations: 2.75 kB / 448.8 MB, free: 41.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007446/0.1955, allocations: 2.778 MB / 451.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.1955, allocations: 0 / 451.6 MB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001908/0.1957, allocations: 363.6 kB / 451.9 MB, free: 38.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.1957, allocations: 12.59 kB / 451.9 MB, free: 38.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.628e-06/0.1957, allocations: 10.81 kB / 452 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.078e-05/0.1958, allocations: 3.422 kB / 452 MB, free: 38.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.1958, allocations: 20.62 kB / 452 MB, free: 38.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.1958, allocations: 6 kB / 452 MB, free: 38.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.508e-05/0.1958, allocations: 99.95 kB / 452.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1958, allocations: 2.938 kB / 452.1 MB, free: 38.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.1961, allocations: 49.81 kB / 452.1 MB, free: 38.86 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.0002775/0.1964, allocations: 0.896 MB / 453 MB, free: 38.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.1967, allocations: 353.5 kB / 453.4 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1967, allocations: 0 / 453.4 MB, free: 37.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001071/0.1968, allocations: 278.1 kB / 453.6 MB, free: 37.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003371/0.1971, allocations: 29.64 kB / 453.7 MB, free: 37.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001191/0.1983, allocations: 2.196 MB / 455.9 MB, free: 35.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.735e-05/0.1984, allocations: 109.8 kB / 456 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.993e-05/0.1984, allocations: 16.34 kB / 456 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.164e-05/0.1984, allocations: 41.34 kB / 456 MB, free: 35.61 MB / 410.7 MB Notification: Performance of SimCode: time 3.5e-07/0.1984, allocations: 3.938 kB / 456 MB, free: 35.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.2196, allocations: 4.572 MB / 460.6 MB, free: 34.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.316/7.536, allocations: 6.875 kB / 460.6 MB, free: 34.42 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/ConnectionPossibilities/ConnectionPossibilities.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia1.phi from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! Error: Could not read variable inertia4.w in file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv. Warning: Get data of variable inertia4.w from file ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.643585086800158]