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.0009862/0.0009862, 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.0008979/0.0008979, allocations: 170 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.9182/0.9182, 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.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.2565/0.2565, allocations: 32.8 MB / 293.5 MB, free: 1.211 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.733e-06/1.733e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.747e-05/2.92e-05, allocations: 3.828 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003004/0.003033, allocations: 1.784 MB / 441.4 MB, free: 2.473 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002955/0.003329, allocations: 155.5 kB / 441.5 MB, free: 2.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.343e-05/0.003392, allocations: 3.938 kB / 441.5 MB, free: 2.316 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.633e-05/0.003449, allocations: 23.78 kB / 441.5 MB, free: 2.293 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.003554, allocations: 55.48 kB / 441.6 MB, free: 2.238 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001364/0.003691, allocations: 35.95 kB / 441.6 MB, free: 2.203 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003847, allocations: 195 kB / 441.8 MB, free: 2.012 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.003983, allocations: 37.77 kB / 441.8 MB, free: 1.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.004101, allocations: 107.8 kB / 442 MB, free: 1.871 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.88e-05/0.00419, allocations: 63.8 kB / 442 MB, free: 1.809 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.004217, allocations: 12 kB / 442 MB, free: 1.797 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.907e-05/0.004236, allocations: 16 kB / 442 MB, free: 1.781 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.004262, allocations: 35.83 kB / 442.1 MB, free: 1.746 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.004309, allocations: 63.84 kB / 442.1 MB, free: 1.684 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.00448, allocations: 179.4 kB / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.004483, allocations: 0 / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.004485, allocations: 0 / 442.3 MB, free: 1.508 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.004491, allocations: 0 / 442.3 MB, free: 1.508 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.0004321/0.004923, allocations: 378 kB / 442.7 MB, free: 1.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.004964, allocations: 12.03 kB / 442.7 MB, free: 1.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.005007, allocations: 50.73 kB / 442.7 MB, free: 1.031 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.511e-05/0.005042, allocations: 16.84 kB / 442.8 MB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001467/0.005188, allocations: 149.5 kB / 442.9 MB, free: 0.8438 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.005201, allocations: 12.7 kB / 442.9 MB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.337e-05/0.005234, allocations: 24.33 kB / 442.9 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.005447, allocations: 166.1 kB / 443.1 MB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.324e-05/0.00546, allocations: 8.172 kB / 443.1 MB, free: 0.6289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.005473, allocations: 4.375 kB / 443.1 MB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005479, allocations: 8.125 kB / 443.1 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.005597, allocations: 92.61 kB / 443.2 MB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1889/0.1945, allocations: 0.5175 MB / 443.7 MB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.1948, allocations: 126.2 kB / 443.9 MB, free: 46.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.951e-05/0.1948, allocations: 49.48 kB / 443.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.537e-05/0.1948, allocations: 3.094 kB / 443.9 MB, free: 46.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.1949, allocations: 35.16 kB / 443.9 MB, free: 46.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.675e-06/0.1949, allocations: 0 / 443.9 MB, free: 46.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005702/0.1954, allocations: 222.5 kB / 444.2 MB, free: 46.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.1955, allocations: 86.56 kB / 444.2 MB, free: 45.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.625e-05/0.1956, allocations: 128.4 kB / 444.4 MB, free: 45.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.1956, allocations: 29.58 kB / 444.4 MB, free: 45.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.1956, allocations: 131.8 kB / 444.5 MB, free: 45.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.1956, allocations: 60.22 kB / 444.6 MB, free: 45.73 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.998e-05/0.1957, allocations: 38.38 kB / 444.6 MB, free: 45.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.623e-05/0.1957, allocations: 322.7 kB / 444.9 MB, free: 45.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-05/0.1958, allocations: 37.89 kB / 445 MB, free: 45.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.952e-05/0.1958, allocations: 110.8 kB / 445.1 MB, free: 45.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.1959, allocations: 154.2 kB / 445.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1959, allocations: 3.031 kB / 445.2 MB, free: 45.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002115/0.1961, allocations: 234.1 kB / 445.5 MB, free: 45.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.1962, allocations: 7.312 kB / 445.5 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.154e-06/0.1962, allocations: 5.969 kB / 445.5 MB, free: 45.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001658/0.1963, allocations: 48.89 kB / 445.5 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.1964, allocations: 36.75 kB / 445.6 MB, free: 45.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.1975, allocations: 2.774 MB / 448.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.882e-05/0.1975, allocations: 17.14 kB / 448.4 MB, free: 42.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.1975, allocations: 5.625 kB / 448.4 MB, free: 42.46 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 7.394e-05/0.1976, allocations: 132 kB / 448.5 MB, free: 42.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.1976, allocations: 17.39 kB / 448.5 MB, free: 42.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.1977, allocations: 18.95 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.1977, allocations: 6.562 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.1977, allocations: 0 / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1977, allocations: 5.812 kB / 448.5 MB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.1978, allocations: 190.8 kB / 448.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1978, allocations: 0 / 448.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.1979, allocations: 27 kB / 448.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.099e-05/0.198, allocations: 51.67 kB / 448.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.198, allocations: 10.33 kB / 448.8 MB, free: 42.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007744/0.1988, allocations: 2.764 MB / 451.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1988, allocations: 4.094 kB / 451.6 MB, free: 39.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000184/0.199, allocations: 374.3 kB / 451.9 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.455e-06/0.199, allocations: 13.78 kB / 452 MB, free: 39.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.857e-06/0.199, allocations: 3.938 kB / 452 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.199, allocations: 6.844 kB / 452 MB, free: 39.08 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.142e-05/0.1991, allocations: 16.02 kB / 452 MB, free: 39.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.1991, allocations: 2.844 kB / 452 MB, free: 39.07 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.714e-05/0.1991, allocations: 107.2 kB / 452.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1991, allocations: 0 / 452.1 MB, free: 38.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002824/0.1994, allocations: 47.19 kB / 452.1 MB, free: 38.98 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.0003117/0.1997, allocations: 0.9026 MB / 453 MB, free: 38.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003001/0.2, allocations: 348.1 kB / 453.4 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2, allocations: 64 / 453.4 MB, free: 37.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.2001, allocations: 279.2 kB / 453.7 MB, free: 37.67 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003527/0.2004, allocations: 37.91 kB / 453.7 MB, free: 37.66 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2018, allocations: 2.197 MB / 455.9 MB, free: 35.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.9e-05/0.2018, allocations: 115 kB / 456 MB, free: 35.76 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.518e-05/0.2019, allocations: 10.89 kB / 456 MB, free: 35.76 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.637e-05/0.2019, allocations: 41.34 kB / 456 MB, free: 35.73 MB / 410.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2019, allocations: 3.938 kB / 456.1 MB, free: 35.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.2229, allocations: 4.562 MB / 460.6 MB, free: 34.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.945/7.168, allocations: 8.203 kB / 460.6 MB, free: 34.54 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_ForUsersGuide_ConnectionPossibilities_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.183326402679086]