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.001379/0.001379, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.589/1.589, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001608/0.001608, allocations: 99.47 kB / 223.2 MB, free: 4.117 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.1849/0.1849, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.559e-05/3.562e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09101/0.09106, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3356/0.4267, allocations: 75.5 MB / 481.2 MB, free: 18.67 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4269, allocations: 76.17 kB / 481.3 MB, free: 18.67 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0145/0.4414, allocations: 5.833 MB / 487.1 MB, free: 17.93 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4415, allocations: 0 / 487.1 MB, free: 17.93 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.4415, allocations: 7.781 kB / 487.1 MB, free: 17.93 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.000674/0.4422, allocations: 0.5756 MB / 487.7 MB, free: 17.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4423, allocations: 9.828 kB / 487.7 MB, free: 17.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.003e-05/0.4423, allocations: 54.73 kB / 487.8 MB, free: 17.46 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.4426, allocations: 273.3 kB / 488 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.4426, allocations: 26.59 kB / 488 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/0.4427, allocations: 44.88 kB / 488.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004695/0.4432, allocations: 349 kB / 488.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4432, allocations: 11.81 kB / 488.4 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.126e-05/0.4432, allocations: 18.75 kB / 488.5 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.4432, allocations: 10.52 kB / 488.5 MB, free: 17.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000302/0.4435, allocations: 206.7 kB / 488.7 MB, free: 17.15 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4448, allocations: 1.107 MB / 489.8 MB, free: 16.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/0.4452, allocations: 339.6 kB / 490.1 MB, free: 16.54 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.4453, allocations: 155.4 kB / 490.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.4454, allocations: 8.562 kB / 490.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.4454, allocations: 41.28 kB / 490.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.713e-06/0.4454, allocations: 0 / 490.3 MB, free: 16.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=57): time 0.002419/0.4478, allocations: 2.283 MB / 492.6 MB, free: 15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.4479, allocations: 106.7 kB / 492.7 MB, free: 14.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.4481, allocations: 212.3 kB / 492.9 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.4481, allocations: 40.05 kB / 492.9 MB, free: 14.74 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4482, allocations: 187.7 kB / 493.1 MB, free: 14.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.597e-05/0.4483, allocations: 202.8 kB / 493.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.592e-05/0.4483, allocations: 7 kB / 493.3 MB, free: 14.49 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.706e-05/0.4484, allocations: 349.4 kB / 493.7 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.4486, allocations: 117.2 kB / 493.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.4487, allocations: 218.7 kB / 494 MB, free: 14.06 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001882/0.4489, allocations: 146.8 kB / 494.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.4489, allocations: 0 / 494.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007458/0.4497, allocations: 0.5199 MB / 494.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4497, allocations: 7.75 kB / 494.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.4497, allocations: 7.828 kB / 494.7 MB, free: 13.94 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003091/0.4501, allocations: 120 kB / 494.8 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003499/0.4504, allocations: 105.2 kB / 494.9 MB, free: 13.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/0.4531, allocations: 4.653 MB / 499.6 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.4534, allocations: 29.88 kB / 499.6 MB, free: 9.852 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.4535, allocations: 19.22 kB / 499.6 MB, free: 9.852 MB / 330.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.0001021/0.4536, allocations: 131.8 kB / 499.7 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.538e-05/0.4537, allocations: 34.88 kB / 499.8 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.502e-05/0.4538, allocations: 49.62 kB / 499.8 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4538, allocations: 11.66 kB / 499.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/0.4538, allocations: 7.859 kB / 499.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.4538, allocations: 2.719 kB / 499.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001432/0.4552, allocations: 1.299 MB / 0.4894 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4553, allocations: 4.062 kB / 0.4894 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.4556, allocations: 102.5 kB / 0.4895 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.4559, allocations: 96.5 kB / 0.4896 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.595e-05/0.4559, allocations: 17.66 kB / 0.4896 GB, free: 9.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003421/0.4593, allocations: 4.095 MB / 0.4936 GB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4594, allocations: 3.875 kB / 0.4936 GB, free: 21.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4605, allocations: 0.934 MB / 0.4945 GB, free: 20.84 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001897/0.4607, allocations: 147.2 kB / 0.4947 GB, free: 20.72 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.4607, allocations: 19.78 kB / 0.4947 GB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.461, allocations: 19.84 kB / 0.4947 GB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4611, allocations: 43.17 kB / 0.4947 GB, free: 20.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.4611, allocations: 17.84 kB / 0.4947 GB, free: 20.71 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002015/0.4614, allocations: 173.4 kB / 0.4949 GB, free: 20.63 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4614, allocations: 0 / 0.4949 GB, free: 20.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007791/0.4621, allocations: 124.5 kB / 0.495 GB, free: 20.62 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.0001799/0.4623, allocations: 109.6 kB / 0.4951 GB, free: 20.54 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.4633, allocations: 0.7211 MB / 0.4958 GB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4634, allocations: 0 / 0.4958 GB, free: 20.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005969/0.464, allocations: 0.5513 MB / 0.4964 GB, free: 19.82 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.4645, allocations: 49.36 kB / 0.4964 GB, free: 19.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.4657, allocations: 0.9335 MB / 0.4973 GB, free: 19.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.4662, allocations: 0.8306 MB / 0.4981 GB, free: 18.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001568/0.4663, allocations: 40.62 kB / 0.4982 GB, free: 18.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.264e-05/0.4664, allocations: 30.66 kB / 0.4982 GB, free: 18.56 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4664, allocations: 0 / 0.4982 GB, free: 18.56 MB / 346.7 MB Notification: Performance of Templates: time 0.006801/0.4732, allocations: 4.014 MB / 0.5021 GB, free: 18.16 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)