Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008754/0.0008754, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003544/0.003544, allocations: 160.6 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8781/0.8781, allocations: 177 MB / 204.9 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2515/0.2515, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia1.phi|inertia1.w|inertia3.phi|inertia3.w|inertia4.phi|inertia4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 443.4 MB, free: 1.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.607e-05, allocations: 2.281 kB / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.1948/0.1949, allocations: 1.779 MB / 445.2 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002524/0.1951, allocations: 154.3 kB / 445.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.698e-05/0.1952, allocations: 6.969 kB / 445.3 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.508e-05/0.1952, allocations: 27.67 kB / 445.4 MB, free: 43.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.1953, allocations: 54.23 kB / 445.4 MB, free: 43.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.1954, allocations: 36.73 kB / 445.5 MB, free: 43.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.1955, allocations: 185.2 kB / 445.6 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.1957, allocations: 44.53 kB / 445.7 MB, free: 43.37 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.503e-05/0.1958, allocations: 109.2 kB / 445.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.545e-05/0.1959, allocations: 47.06 kB / 445.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.1959, allocations: 14.78 kB / 445.8 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.639e-05/0.1959, allocations: 13.84 kB / 445.9 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.1959, allocations: 35.67 kB / 445.9 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.196, allocations: 60.14 kB / 446 MB, free: 43.33 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.1961, allocations: 193.1 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1961, allocations: 1.531 kB / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1961, allocations: 0 / 446.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.1961, allocations: 0 / 446.1 MB, free: 43.3 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.0003394/0.1964, allocations: 378.9 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.332e-05/0.1965, allocations: 8.25 kB / 446.5 MB, free: 43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.1965, allocations: 19.19 kB / 446.5 MB, free: 42.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001131/0.1966, allocations: 149.8 kB / 446.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1966, allocations: 10.27 kB / 446.7 MB, free: 42.85 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.804e-05/0.1967, allocations: 23.42 kB / 446.7 MB, free: 42.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1968, allocations: 169.8 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1968, allocations: 192 / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.1969, allocations: 7.625 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1969, allocations: 7.734 kB / 446.9 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.547e-05/0.197, allocations: 95.48 kB / 447 MB, free: 42.79 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004119/0.1974, allocations: 496 kB / 447.5 MB, free: 42.45 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001377/0.1975, allocations: 119.9 kB / 447.6 MB, free: 42.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.614e-05/0.1976, allocations: 48.8 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.1976, allocations: 3.938 kB / 447.6 MB, free: 42.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.1976, allocations: 33.69 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.362e-06/0.1976, allocations: 0 / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004082/0.198, allocations: 234.4 kB / 447.9 MB, free: 42.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.305e-05/0.198, allocations: 79.95 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.699e-05/0.1981, allocations: 135.6 kB / 448.1 MB, free: 41.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.841e-06/0.1981, allocations: 25.7 kB / 448.1 MB, free: 41.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.332e-05/0.1981, allocations: 134.1 kB / 448.3 MB, free: 41.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1981, allocations: 60.86 kB / 448.3 MB, free: 41.78 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.1982, allocations: 42.84 kB / 448.4 MB, free: 41.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.705e-05/0.1982, allocations: 324.8 kB / 448.7 MB, free: 41.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.25e-05/0.1982, allocations: 35.88 kB / 448.7 MB, free: 41.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.1983, allocations: 106.3 kB / 448.8 MB, free: 41.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.924e-05/0.1984, allocations: 162.1 kB / 449 MB, free: 41.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1984, allocations: 4 kB / 449 MB, free: 41.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001882/0.1986, allocations: 213.8 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.1986, allocations: 9.219 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1986, allocations: 2.719 kB / 449.2 MB, free: 41.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001426/0.1987, allocations: 49.53 kB / 449.3 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.258e-05/0.1988, allocations: 41.23 kB / 449.3 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008877/0.1997, allocations: 2.726 MB / 452 MB, free: 38.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.967e-05/0.1997, allocations: 17.3 kB / 452 MB, free: 38.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1998, allocations: 8.25 kB / 452.1 MB, free: 38.36 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.166e-05/0.1998, allocations: 149.2 kB / 452.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.1998, allocations: 9.516 kB / 452.2 MB, free: 38.21 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.1999, allocations: 15.56 kB / 452.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.51e-07/0.1999, allocations: 0 / 452.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.1999, allocations: 2.812 kB / 452.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1999, allocations: 3.328 kB / 452.2 MB, free: 38.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.2, allocations: 163.3 kB / 452.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2, allocations: 3.938 kB / 452.4 MB, free: 38.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.969e-05/0.2001, allocations: 30.16 kB / 452.4 MB, free: 38.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.062e-05/0.2001, allocations: 50.94 kB / 452.5 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.2002, allocations: 2.906 kB / 452.5 MB, free: 38.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006959/0.2009, allocations: 2.731 MB / 455.2 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2009, allocations: 0 / 455.2 MB, free: 35.34 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.201, allocations: 367.3 kB / 455.6 MB, free: 35.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.372e-06/0.201, allocations: 9.328 kB / 455.6 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.027e-06/0.2011, allocations: 7.172 kB / 455.6 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.035e-05/0.2011, allocations: 7.188 kB / 455.6 MB, free: 35.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.002e-05/0.2011, allocations: 10.17 kB / 455.6 MB, free: 35.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.2011, allocations: 12.92 kB / 455.6 MB, free: 35.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.477e-05/0.2012, allocations: 93.84 kB / 455.7 MB, free: 34.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2012, allocations: 4.094 kB / 455.7 MB, free: 34.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.2014, allocations: 58.23 kB / 455.8 MB, free: 34.94 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 7.303e-05/0.2015, allocations: 94.75 kB / 455.9 MB, free: 34.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.2018, allocations: 345.3 kB / 456.2 MB, free: 34.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.2018, allocations: 4.062 kB / 456.2 MB, free: 34.59 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.2019, allocations: 282 kB / 456.5 MB, free: 34.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.2022, allocations: 35.53 kB / 456.5 MB, free: 34.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005238/0.2028, allocations: 0.5354 MB / 457 MB, free: 33.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.2028, allocations: 110.9 kB / 457.2 MB, free: 33.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.183e-05/0.2028, allocations: 20.47 kB / 457.2 MB, free: 33.85 MB / 410.7 MB Notification: Performance of SimCode: time 7.32e-07/0.2028, allocations: 0 / 457.2 MB, free: 33.85 MB / 410.7 MB Notification: Performance of Templates: time 0.002857/0.2057, allocations: 3.252 MB / 460.4 MB, free: 33.59 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities_res.mat","/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_trunk_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: 5.611563754267991]