Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009373/0.000937, allocations: 164.5 kB / 7.636 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.425/1.425, allocations: 170.6 MB / 178.7 MB, free: 15.57 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001604/0.001604, allocations: 111.4 kB / 218 MB, free: 8.336 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2002/0.2002, allocations: 37.99 MB / 295.1 MB, free: 9.473 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.841e-05/1.833e-05, allocations: 2.156 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1252, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4144/0.5397, allocations: 74.85 MB / 473.6 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.54, allocations: 66.05 kB / 473.6 MB, free: 17.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.556, allocations: 5.775 MB / 479.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.556, allocations: 0 / 479.4 MB, free: 17.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.258e-05/0.5561, allocations: 7.75 kB / 479.4 MB, free: 17.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.000858/0.5569, allocations: 0.5771 MB / 480 MB, free: 16.74 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.557, allocations: 9.094 kB / 480 MB, free: 16.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.771e-05/0.5571, allocations: 51.48 kB / 480.1 MB, free: 16.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.5574, allocations: 270.1 kB / 480.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.5574, allocations: 12.25 kB / 480.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.392e-05/0.5575, allocations: 27.06 kB / 480.4 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004008/0.5579, allocations: 192.7 kB / 480.5 MB, free: 16.48 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005267/0.5585, allocations: 301.9 kB / 480.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/0.5585, allocations: 5.531 kB / 480.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.5585, allocations: 0 / 480.8 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.5585, allocations: 12.14 kB / 480.9 MB, free: 16.41 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.56, allocations: 1.022 MB / 481.9 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003727/0.5603, allocations: 308.4 kB / 482.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.5606, allocations: 152.8 kB / 482.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.273e-05/0.5606, allocations: 8.094 kB / 482.3 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.5606, allocations: 41.25 kB / 482.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.413e-06/0.5606, allocations: 0 / 482.4 MB, free: 15.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.003075/0.5637, allocations: 2.125 MB / 484.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.5638, allocations: 108.8 kB / 484.6 MB, free: 14.19 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.564, allocations: 164.4 kB / 484.8 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.564, allocations: 25.7 kB / 484.8 MB, free: 14.06 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.5641, allocations: 195.1 kB / 485 MB, free: 13.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.5643, allocations: 186.9 kB / 485.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.499e-05/0.5643, allocations: 0 / 485.2 MB, free: 13.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.5644, allocations: 342.6 kB / 485.5 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001821/0.5646, allocations: 107.1 kB / 485.6 MB, free: 13.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002471/0.5648, allocations: 196.9 kB / 485.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.5651, allocations: 138 kB / 485.9 MB, free: 13.38 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5651, allocations: 5.203 kB / 485.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007889/0.5659, allocations: 470.3 kB / 486.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5659, allocations: 9.438 kB / 486.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.566, allocations: 3.25 kB / 486.4 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003674/0.5663, allocations: 116 kB / 486.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004369/0.5668, allocations: 107.1 kB / 486.6 MB, free: 13.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003953/0.5707, allocations: 4.476 MB / 491.1 MB, free: 25.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.5711, allocations: 16.66 kB / 491.1 MB, free: 25.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.5711, allocations: 25.77 kB / 491.2 MB, free: 25.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 48 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 5,(1,100.0%) 5,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5713, allocations: 111.6 kB / 491.3 MB, free: 25.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.5714, allocations: 35.22 kB / 491.3 MB, free: 25.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.994e-05/0.5715, allocations: 36.31 kB / 491.3 MB, free: 25.22 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5715, allocations: 5.938 kB / 491.3 MB, free: 25.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.935e-05/0.5715, allocations: 7.219 kB / 491.3 MB, free: 25.22 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5716, allocations: 4.656 kB / 491.3 MB, free: 25.22 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.5733, allocations: 1.195 MB / 492.5 MB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.5733, allocations: 5.531 kB / 492.5 MB, free: 24.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004186/0.5737, allocations: 96.83 kB / 492.6 MB, free: 24.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.574, allocations: 87.45 kB / 492.7 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.379e-05/0.574, allocations: 2.844 kB / 492.7 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002943/0.577, allocations: 3.946 MB / 496.7 MB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.577, allocations: 3.938 kB / 496.7 MB, free: 21.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.578, allocations: 0.8856 MB / 497.6 MB, free: 20.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.5781, allocations: 131.5 kB / 497.7 MB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.5781, allocations: 2.156 kB / 497.7 MB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.5784, allocations: 18.27 kB / 497.7 MB, free: 20.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.712e-05/0.5785, allocations: 50.84 kB / 497.8 MB, free: 20.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.5785, allocations: 19.03 kB / 497.8 MB, free: 20.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001052/0.5786, allocations: 129 kB / 497.9 MB, free: 20.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5786, allocations: 0 / 497.9 MB, free: 20.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007551/0.5794, allocations: 103.6 kB / 498 MB, free: 20.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001759/0.5796, allocations: 105.3 kB / 498.1 MB, free: 20.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000913/0.5805, allocations: 0.6773 MB / 498.8 MB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5805, allocations: 0 / 498.8 MB, free: 19.92 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005587/0.5811, allocations: 0.5193 MB / 499.3 MB, free: 19.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004499/0.5815, allocations: 38.53 kB / 499.3 MB, free: 19.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.583, allocations: 0.8987 MB / 0.4885 GB, free: 19.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004575/0.5834, allocations: 0.8281 MB / 0.4893 GB, free: 18.36 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001364/0.5836, allocations: 35.08 kB / 0.4894 GB, free: 18.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.772e-05/0.5836, allocations: 25.78 kB / 0.4894 GB, free: 18.34 MB / 346.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5836, allocations: 0 / 0.4894 GB, free: 18.34 MB / 346.7 MB Notification: Performance of Templates: time 0.007203/0.5909, allocations: 3.665 MB / 0.493 GB, free: 18.1 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)