Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001743/0.001743, allocations: 193.9 kB / 16.13 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.1 MB / 222 MB, free: 4.996 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4551/0.4551, allocations: 37.98 MB / 307.3 MB, free: 9.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002644/0.002644, allocations: 70.41 kB / 374.5 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1848, allocations: 56.47 MB / 431 MB, free: 7.094 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.003658/0.1885, allocations: 1.914 MB / 432.9 MB, free: 5.164 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.1888, allocations: 143.5 kB / 433.1 MB, free: 5.023 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.389e-05/0.189, allocations: 7.938 kB / 433.1 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.16e-05/0.189, allocations: 15.91 kB / 433.1 MB, free: 5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.1892, allocations: 51.56 kB / 433.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000161/0.1894, allocations: 31.95 kB / 433.2 MB, free: 4.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002797/0.1897, allocations: 179.1 kB / 433.3 MB, free: 4.742 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.1899, allocations: 49.83 kB / 433.4 MB, free: 4.695 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.138e-05/0.19, allocations: 59.78 kB / 433.4 MB, free: 4.637 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.1901, allocations: 67.7 kB / 433.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.236e-05/0.1901, allocations: 12 kB / 433.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.516e-05/0.1902, allocations: 8 kB / 433.5 MB, free: 4.551 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.465e-05/0.1902, allocations: 35.84 kB / 433.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.141e-05/0.1903, allocations: 79.61 kB / 433.6 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002815/0.1906, allocations: 175.6 kB / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.866e-06/0.1906, allocations: 0 / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1906, allocations: 0 / 433.8 MB, free: 4.266 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.1906, allocations: 0 / 433.8 MB, free: 4.266 MB / 366.1 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.0007619/0.1914, allocations: 455.3 kB / 434.3 MB, free: 3.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.1915, allocations: 8.031 kB / 434.3 MB, free: 3.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.433e-05/0.1915, allocations: 20.75 kB / 434.3 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.1918, allocations: 200.1 kB / 434.5 MB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.1918, allocations: 12.7 kB / 434.5 MB, free: 3.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.646e-05/0.1918, allocations: 24.28 kB / 434.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003214/0.1922, allocations: 178 kB / 434.7 MB, free: 3.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.1922, allocations: 4.125 kB / 434.7 MB, free: 3.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.1922, allocations: 7.938 kB / 434.7 MB, free: 3.277 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.1922, allocations: 4 kB / 434.7 MB, free: 3.273 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.1924, allocations: 95.83 kB / 434.8 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/0.1934, allocations: 0.6189 MB / 435.4 MB, free: 2.5 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.1936, allocations: 129.2 kB / 435.5 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.06e-05/0.1937, allocations: 49.7 kB / 435.6 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.1937, allocations: 4 kB / 435.6 MB, free: 2.297 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.1938, allocations: 30.56 kB / 435.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1938, allocations: 0 / 435.6 MB, free: 2.258 MB / 366.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007979/0.1946, allocations: 385.5 kB / 436 MB, free: 1.832 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.526e-05/0.1947, allocations: 85.11 kB / 436.1 MB, free: 1.73 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.1948, allocations: 134 kB / 436.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.881e-05/0.1948, allocations: 29.7 kB / 436.3 MB, free: 1.551 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.1949, allocations: 128 kB / 436.4 MB, free: 1.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.917e-05/0.1949, allocations: 51.2 kB / 436.4 MB, free: 1.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.521e-05/0.195, allocations: 41.7 kB / 436.5 MB, free: 1.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.1952, allocations: 322.8 kB / 436.8 MB, free: 1 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.497e-05/0.1952, allocations: 35.98 kB / 436.8 MB, free: 0.9648 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/0.1953, allocations: 108.4 kB / 436.9 MB, free: 0.8281 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.1955, allocations: 164.4 kB / 437.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1955, allocations: 384 / 437.1 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003536/0.1959, allocations: 226.8 kB / 437.3 MB, free: 412 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1959, allocations: 4 kB / 437.3 MB, free: 408 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.196, allocations: 4 kB / 437.3 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/0.1962, allocations: 49.69 kB / 437.4 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001416/0.1964, allocations: 36.17 kB / 437.4 MB, free: 312 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002398/0.1988, allocations: 2.728 MB / 440.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.807e-05/0.1989, allocations: 15.84 kB / 440.1 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.297e-05/0.1989, allocations: 8 kB / 440.1 MB, free: 13.28 MB / 382.1 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 0.0001385/0.199, allocations: 137.9 kB / 440.3 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.701e-05/0.1991, allocations: 7.906 kB / 440.3 MB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.1991, allocations: 20.7 kB / 440.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1991, allocations: 0 / 440.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.1991, allocations: 4 kB / 440.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1992, allocations: 3.938 kB / 440.3 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1995, allocations: 229.5 kB / 440.5 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1995, allocations: 7.984 kB / 440.6 MB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001397/0.1996, allocations: 24 kB / 440.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001274/0.1998, allocations: 49.62 kB / 440.6 MB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1998, allocations: 8 kB / 440.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002026/0.2018, allocations: 2.728 MB / 443.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2019, allocations: 0 / 443.4 MB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004199/0.2023, allocations: 380.3 kB / 443.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.2024, allocations: 88.95 kB / 443.8 MB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.2024, allocations: 4.094 kB / 443.8 MB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.2025, allocations: 8 kB / 443.8 MB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.2025, allocations: 11.98 kB / 443.8 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.2025, allocations: 7.984 kB / 443.8 MB, free: 9.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.771e-05/0.2026, allocations: 99.27 kB / 443.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2026, allocations: 0 / 443.9 MB, free: 9.109 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.203, allocations: 51.91 kB / 444 MB, free: 9.059 MB / 382.1 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.0001277/0.2032, allocations: 111.1 kB / 444.1 MB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005336/0.2037, allocations: 349.3 kB / 444.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2037, allocations: 0 / 444.4 MB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/0.2041, allocations: 289.7 kB / 444.7 MB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.2046, allocations: 27.98 kB / 444.8 MB, free: 8.238 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/0.2058, allocations: 0.6981 MB / 445.5 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.2062, allocations: 0.7281 MB / 446.2 MB, free: 6.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.637e-05/0.2062, allocations: 9.422 kB / 446.2 MB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.2062, allocations: 11.44 kB / 446.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2062, allocations: 0 / 446.2 MB, free: 6.738 MB / 382.1 MB Notification: Performance of Templates: time 0.004597/0.2108, allocations: 1.851 MB / 448.1 MB, free: 4.887 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)