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.01007/0.01007, allocations: 174.2 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.542/1.542, allocations: 194.5 MB / 210.3 MB, free: 7.621 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.001768/0.001768, allocations: 120.5 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1816/0.1816, allocations: 40.01 MB / 340.8 MB, free: 11.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 11.38 kB / 406.2 MB, free: 51.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 54.87 MB / 461 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1115/0.2159, allocations: 80.08 MB / 0.5284 GB, free: 3.145 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.2161, allocations: 71.95 kB / 0.5285 GB, free: 3.074 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006303/0.2225, allocations: 2.535 MB / 0.531 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2225, allocations: 4 kB / 0.531 GB, free: 0.5312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.2225, allocations: 4 kB / 0.531 GB, free: 0.5273 MB / 378.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.0004568/0.223, allocations: 419.2 kB / 0.5314 GB, free: 68 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.223, allocations: 12.03 kB / 0.5314 GB, free: 56 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.2231, allocations: 27.61 kB / 0.5314 GB, free: 28 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.242/0.4651, allocations: 173.8 kB / 0.5316 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/0.4652, allocations: 12.23 kB / 0.5316 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.37e-05/0.4653, allocations: 18.12 kB / 0.5316 GB, free: 82.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.4656, allocations: 165.6 kB / 0.5318 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.175e-05/0.4657, allocations: 8.578 kB / 0.5318 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.4657, allocations: 5.125 kB / 0.5318 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4657, allocations: 5.469 kB / 0.5318 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001754/0.4659, allocations: 86.55 kB / 0.5319 GB, free: 82.02 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008585/0.4668, allocations: 0.6131 MB / 0.5325 GB, free: 81.62 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.467, allocations: 128.1 kB / 0.5326 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.467, allocations: 5.312 kB / 0.5326 GB, free: 81.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.786e-05/0.467, allocations: 34.62 kB / 0.5326 GB, free: 81.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 2.255e-06/0.4671, allocations: 0 / 0.5326 GB, free: 81.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.000804/0.4679, allocations: 381.9 kB / 0.533 GB, free: 81.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.781e-05/0.4679, allocations: 86.7 kB / 0.5331 GB, free: 81.2 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.818e-05/0.468, allocations: 115.7 kB / 0.5332 GB, free: 81.11 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.468, allocations: 27.83 kB / 0.5332 GB, free: 81.08 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.209e-05/0.4681, allocations: 134.7 kB / 0.5333 GB, free: 80.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.4681, allocations: 62.11 kB / 0.5334 GB, free: 80.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.4681, allocations: 8.688 kB / 0.5334 GB, free: 80.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.4682, allocations: 324.9 kB / 0.5337 GB, free: 80.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.914e-05/0.4683, allocations: 34.59 kB / 0.5337 GB, free: 80.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.964e-05/0.4684, allocations: 107.2 kB / 0.5339 GB, free: 80.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.972e-05/0.4685, allocations: 51.34 kB / 0.5339 GB, free: 80.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4685, allocations: 1.875 kB / 0.5339 GB, free: 80.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003725/0.4689, allocations: 220.6 kB / 0.5341 GB, free: 80.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4689, allocations: 5.906 kB / 0.5341 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.4689, allocations: 3.641 kB / 0.5341 GB, free: 80.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002469/0.4692, allocations: 55.42 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.4693, allocations: 38.22 kB / 0.5342 GB, free: 80.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/0.471, allocations: 2.724 MB / 0.5369 GB, free: 77.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.416e-05/0.4711, allocations: 20.97 kB / 0.5369 GB, free: 77.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.4711, allocations: 7.891 kB / 0.5369 GB, free: 77.82 MB / 378.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 (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 0.0001047/0.4712, allocations: 140.6 kB / 0.537 GB, free: 77.7 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.775e-05/0.4713, allocations: 9.938 kB / 0.537 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.691e-05/0.4713, allocations: 18.7 kB / 0.5371 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.544e-06/0.4713, allocations: 1.812 kB / 0.5371 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/0.4714, allocations: 1.406 kB / 0.5371 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.4714, allocations: 2.891 kB / 0.5371 GB, free: 77.69 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000345/0.4717, allocations: 230.2 kB / 0.5373 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.4717, allocations: 0 / 0.5373 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001522/0.4719, allocations: 31.12 kB / 0.5373 GB, free: 77.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001248/0.472, allocations: 46.05 kB / 0.5374 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.4721, allocations: 4.625 kB / 0.5374 GB, free: 77.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001477/0.4735, allocations: 2.729 MB / 0.54 GB, free: 74.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4736, allocations: 2.625 kB / 0.54 GB, free: 74.87 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000372/0.4739, allocations: 392.2 kB / 0.5404 GB, free: 74.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.202e-05/0.474, allocations: 86.39 kB / 0.5405 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.474, allocations: 3.859 kB / 0.5405 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.786e-05/0.4741, allocations: 4.719 kB / 0.5405 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.17e-05/0.4742, allocations: 13.95 kB / 0.5405 GB, free: 74.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.4742, allocations: 5.359 kB / 0.5405 GB, free: 74.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.539e-05/0.4742, allocations: 98.12 kB / 0.5406 GB, free: 74.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4742, allocations: 0 / 0.5406 GB, free: 74.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000457/0.4747, allocations: 59.66 kB / 0.5407 GB, free: 74.43 MB / 378.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 () * 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 (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.0001254/0.4748, allocations: 99.45 kB / 0.5408 GB, free: 74.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005215/0.4754, allocations: 350.3 kB / 0.5411 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.4754, allocations: 0.5 kB / 0.5411 GB, free: 74.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003268/0.4757, allocations: 287.1 kB / 0.5414 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003828/0.4761, allocations: 34.34 kB / 0.5414 GB, free: 73.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4773, allocations: 0.7838 MB / 0.5422 GB, free: 73.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002359/0.4775, allocations: 0.7313 MB / 0.5429 GB, free: 72.63 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.932e-05/0.4776, allocations: 10.81 kB / 0.5429 GB, free: 72.63 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.271e-05/0.4776, allocations: 13.78 kB / 0.5429 GB, free: 72.62 MB / 378.7 MB Notification: Performance of SimCode: time 3e-07/0.4776, allocations: 0 / 0.5429 GB, free: 72.62 MB / 378.7 MB Notification: Performance of Templates: time 0.006192/0.4838, allocations: 1.778 MB / 0.5446 GB, free: 72.48 MB / 378.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)