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.007734/0.007734, allocations: 101.2 kB / 15.73 MB, free: 6.035 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.001433/0.001433, allocations: 190.2 kB / 16.67 MB, free: 5.973 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.558/1.558, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3533/0.3533, allocations: 38 MB / 307.9 MB, free: 10.12 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.001746/0.001746, allocations: 68.38 kB / 433 MB, free: 5.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3331, allocations: 56.48 MB / 489.4 MB, free: 19.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.ConnectionPossibilities): time 0.002699/0.3358, allocations: 1.835 MB / 491.3 MB, free: 18.66 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.3362, allocations: 151.8 kB / 491.4 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.562e-05/0.3363, allocations: 2.719 kB / 491.4 MB, free: 18.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.578e-05/0.3363, allocations: 23.81 kB / 491.5 MB, free: 18.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001419/0.3365, allocations: 58.27 kB / 491.5 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000159/0.3367, allocations: 34.58 kB / 491.5 MB, free: 18.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002343/0.3369, allocations: 185.3 kB / 491.7 MB, free: 18.37 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001934/0.3371, allocations: 56.41 kB / 491.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3372, allocations: 74.22 kB / 491.9 MB, free: 18.31 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.3373, allocations: 75.34 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.3374, allocations: 13.97 kB / 491.9 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.385e-05/0.3374, allocations: 14.28 kB / 492 MB, free: 18.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.734e-05/0.3375, allocations: 38.3 kB / 492 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.385e-05/0.3376, allocations: 87 kB / 492.1 MB, free: 18.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3378, allocations: 181.5 kB / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3378, allocations: 0 / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3378, allocations: 0 / 492.3 MB, free: 18.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.3378, allocations: 0 / 492.3 MB, free: 18.13 MB / 382.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.0005238/0.3384, allocations: 456.6 kB / 492.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.3384, allocations: 13.39 kB / 492.7 MB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.3385, allocations: 21.91 kB / 492.7 MB, free: 17.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.3386, allocations: 208.9 kB / 492.9 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.3387, allocations: 11.23 kB / 493 MB, free: 17.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.3387, allocations: 24.09 kB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002812/0.339, allocations: 169.2 kB / 493.1 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.339, allocations: 5.562 kB / 493.1 MB, free: 17.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.822e-05/0.339, allocations: 13.06 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.3391, allocations: 5.094 kB / 493.2 MB, free: 17.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.3392, allocations: 95.08 kB / 493.3 MB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007373/0.34, allocations: 0.615 MB / 493.9 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001953/0.3402, allocations: 128.9 kB / 494 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.185e-05/0.3403, allocations: 55.28 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.534e-05/0.3403, allocations: 2.312 kB / 494.1 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.3403, allocations: 32.72 kB / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.3403, allocations: 0 / 494.1 MB, free: 16.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007336/0.341, allocations: 381.3 kB / 494.5 MB, free: 16.35 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.68e-05/0.3411, allocations: 79.33 kB / 494.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.866e-05/0.3412, allocations: 129.4 kB / 494.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.3412, allocations: 30.83 kB / 494.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.3413, allocations: 131.2 kB / 494.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.3413, allocations: 54 kB / 494.9 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.3413, allocations: 37.41 kB / 494.9 MB, free: 15.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.3414, allocations: 326.2 kB / 495.2 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.22e-05/0.3415, allocations: 36.53 kB / 495.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.137e-05/0.3416, allocations: 113.8 kB / 495.4 MB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.3417, allocations: 153.7 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3417, allocations: 1.031 kB / 495.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003366/0.3421, allocations: 228.5 kB / 495.7 MB, free: 15.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.3421, allocations: 6.312 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3421, allocations: 3.375 kB / 495.8 MB, free: 15.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002091/0.3423, allocations: 48.06 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3425, allocations: 35.78 kB / 495.8 MB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.3441, allocations: 2.991 MB / 498.8 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.669e-05/0.3441, allocations: 20.88 kB / 498.9 MB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3442, allocations: 12.42 kB / 498.9 MB, free: 12.15 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 8.75e-05/0.3443, allocations: 126.5 kB / 499 MB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.743e-05/0.3443, allocations: 10.25 kB / 499 MB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.081e-05/0.3444, allocations: 20.41 kB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.3444, allocations: 2.406 kB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/0.3444, allocations: 5.062 kB / 499 MB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.329e-06/0.3444, allocations: 9.297 kB / 499 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002644/0.3447, allocations: 229.9 kB / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3447, allocations: 0 / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3448, allocations: 25.58 kB / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/0.345, allocations: 45.56 kB / 499.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.345, allocations: 10.69 kB / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00142/0.3464, allocations: 2.992 MB / 0.4906 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3464, allocations: 1.859 kB / 0.4906 GB, free: 8.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000352/0.3468, allocations: 375.7 kB / 0.4909 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.85e-05/0.3468, allocations: 88.81 kB / 0.491 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3469, allocations: 6.156 kB / 0.491 GB, free: 8.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.347, allocations: 5.75 kB / 0.491 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.347, allocations: 17.78 kB / 0.491 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.347, allocations: 7.25 kB / 0.491 GB, free: 8.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.127e-05/0.3471, allocations: 103.6 kB / 0.4911 GB, free: 8.238 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3471, allocations: 1.094 kB / 0.4911 GB, free: 8.238 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004486/0.3475, allocations: 53.38 kB / 0.4912 GB, free: 8.227 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.0001028/0.3476, allocations: 98.22 kB / 0.4913 GB, free: 8.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005049/0.3481, allocations: 354.3 kB / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3482, allocations: 0 / 0.4916 GB, free: 7.867 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002522/0.3484, allocations: 290.2 kB / 0.4919 GB, free: 7.617 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005036/0.3489, allocations: 28.39 kB / 0.4919 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.3499, allocations: 0.6282 MB / 0.4925 GB, free: 7.125 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001835/0.3501, allocations: 0.7252 MB / 0.4932 GB, free: 6.426 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.764e-05/0.3501, allocations: 13.31 kB / 0.4933 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.67e-05/0.3502, allocations: 12.94 kB / 0.4933 GB, free: 6.414 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3502, allocations: 1.375 kB / 0.4933 GB, free: 6.414 MB / 382.1 MB Notification: Performance of Templates: time 0.006395/0.3566, allocations: 1.945 MB / 0.4952 GB, free: 6.227 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)