Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") translateModel(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001523/0.001523, allocations: 187.3 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.441/1.441, allocations: 194.3 MB / 202.4 MB, free: 8.547 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001703/0.001703, allocations: 120.3 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2158/0.2158, allocations: 39.95 MB / 332.2 MB, free: 4.77 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.406e-05/1.409e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1216, allocations: 54.87 MB / 448.2 MB, free: 20.66 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4959/0.6176, allocations: 79.33 MB / 0.5151 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/0.618, allocations: 60.69 kB / 0.5152 GB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006281/0.6243, allocations: 2.524 MB / 0.5177 GB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6243, allocations: 0 / 0.5177 GB, free: 9.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.6243, allocations: 7.812 kB / 0.5177 GB, free: 9.914 MB / 346.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.0004476/0.6248, allocations: 402.5 kB / 0.5181 GB, free: 9.539 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.6248, allocations: 14.53 kB / 0.5181 GB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.6249, allocations: 27.3 kB / 0.5181 GB, free: 9.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.6251, allocations: 186.1 kB / 0.5183 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.6251, allocations: 3.844 kB / 0.5183 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.161e-05/0.6251, allocations: 11.53 kB / 0.5183 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001736/0.6253, allocations: 71.25 kB / 0.5184 GB, free: 9.309 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.6255, allocations: 143.6 kB / 0.5185 GB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.6256, allocations: 7.75 kB / 0.5185 GB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.6256, allocations: 3.984 kB / 0.5185 GB, free: 9.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.6256, allocations: 7.797 kB / 0.5185 GB, free: 9.246 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007178/0.6263, allocations: 0.5693 MB / 0.5191 GB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001502/0.6265, allocations: 115.5 kB / 0.5192 GB, free: 8.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.6265, allocations: 42.19 kB / 0.5192 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.6266, allocations: 192 / 0.5192 GB, free: 8.797 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.6266, allocations: 41.75 kB / 0.5193 GB, free: 8.754 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 9.32e-07/0.6266, allocations: 0.9844 kB / 0.5193 GB, free: 8.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003736/0.627, allocations: 139.7 kB / 0.5194 GB, free: 8.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.627, allocations: 84.86 kB / 0.5195 GB, free: 8.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.654e-05/0.6271, allocations: 118.2 kB / 0.5196 GB, free: 8.496 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.6272, allocations: 25.7 kB / 0.5196 GB, free: 8.465 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.982e-05/0.6272, allocations: 131 kB / 0.5197 GB, free: 8.355 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.6273, allocations: 54.41 kB / 0.5198 GB, free: 8.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.6273, allocations: 0 / 0.5198 GB, free: 8.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.6274, allocations: 326.9 kB / 0.5201 GB, free: 8.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.093e-05/0.6274, allocations: 34.22 kB / 0.5201 GB, free: 8 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.562e-05/0.6275, allocations: 92.08 kB / 0.5202 GB, free: 7.922 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.6276, allocations: 57.14 kB / 0.5203 GB, free: 7.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6276, allocations: 3.906 kB / 0.5203 GB, free: 7.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002887/0.6279, allocations: 197.1 kB / 0.5205 GB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.6279, allocations: 3.719 kB / 0.5205 GB, free: 7.836 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.6279, allocations: 7.797 kB / 0.5205 GB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.6281, allocations: 47.92 kB / 0.5205 GB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.6283, allocations: 39.72 kB / 0.5206 GB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/0.6297, allocations: 2.609 MB / 0.5231 GB, free: 5.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.397e-05/0.6298, allocations: 11.28 kB / 0.5231 GB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.6299, allocations: 7.625 kB / 0.5231 GB, free: 5.305 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.736e-05/0.6299, allocations: 113 kB / 0.5232 GB, free: 5.188 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.989e-05/0.63, allocations: 23.14 kB / 0.5233 GB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.63, allocations: 11.42 kB / 0.5233 GB, free: 5.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.63, allocations: 7.922 kB / 0.5233 GB, free: 5.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.6301, allocations: 7.984 kB / 0.5233 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6301, allocations: 3.969 kB / 0.5233 GB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002153/0.6303, allocations: 186.5 kB / 0.5235 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.6303, allocations: 6.641 kB / 0.5235 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.6305, allocations: 25.92 kB / 0.5235 GB, free: 5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000116/0.6306, allocations: 49.67 kB / 0.5235 GB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.6306, allocations: 0 / 0.5235 GB, free: 4.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/0.6322, allocations: 2.611 MB / 0.5261 GB, free: 18.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6323, allocations: 3.938 kB / 0.5261 GB, free: 18.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003533/0.6326, allocations: 363.5 kB / 0.5264 GB, free: 18.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.6327, allocations: 88 kB / 0.5265 GB, free: 18.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.6327, allocations: 4.188 kB / 0.5265 GB, free: 18.13 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.6328, allocations: 7.844 kB / 0.5265 GB, free: 18.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.323e-05/0.6329, allocations: 10.75 kB / 0.5266 GB, free: 18.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-06/0.6329, allocations: 9.984 kB / 0.5266 GB, free: 18.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.021e-05/0.6329, allocations: 95.39 kB / 0.5267 GB, free: 18.05 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6329, allocations: 0 / 0.5267 GB, free: 18.05 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004587/0.6334, allocations: 50.22 kB / 0.5267 GB, free: 18.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (inertia1.phi,inertia2.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.6336, allocations: 105.7 kB / 0.5268 GB, free: 17.95 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000498/0.6341, allocations: 323.4 kB / 0.5271 GB, free: 17.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6341, allocations: 0 / 0.5271 GB, free: 17.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000256/0.6344, allocations: 269.2 kB / 0.5274 GB, free: 17.52 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003367/0.6347, allocations: 23.52 kB / 0.5274 GB, free: 17.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.6355, allocations: 0.5568 MB / 0.5279 GB, free: 17.11 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003597/0.6359, allocations: 0.7282 MB / 0.5286 GB, free: 16.41 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.44e-05/0.6359, allocations: 12.44 kB / 0.5287 GB, free: 16.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.6359, allocations: 15.12 kB / 0.5287 GB, free: 16.4 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.636, allocations: 0 / 0.5287 GB, free: 16.4 MB / 362.7 MB Notification: Performance of Templates: time 0.004007/0.64, allocations: 1.696 MB / 0.5303 GB, free: 15.6 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities.pipe 2>&1)