Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.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.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009995/0.0009995, allocations: 156.2 kB / 7.633 MB, free: 1.445 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.418/1.418, allocations: 170.7 MB / 178.7 MB, free: 7.047 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.001652/0.001652, allocations: 105.7 kB / 218 MB, free: 15.34 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.2247/0.2247, allocations: 37.97 MB / 295.1 MB, free: 2.094 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.465e-05/1.466e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/0.3199, allocations: 48.68 MB / 398.7 MB, free: 6.074 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.4348, allocations: 72.64 MB / 471.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.4351, allocations: 63.97 kB / 471.4 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004918/0.4401, allocations: 1.947 MB / 473.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4401, allocations: 0 / 473.4 MB, free: 8.496 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.4401, allocations: 0 / 473.4 MB, free: 8.496 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0003845/0.4405, allocations: 367.1 kB / 473.7 MB, free: 8.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4406, allocations: 12.03 kB / 473.7 MB, free: 8.078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.4406, allocations: 11.91 kB / 473.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.4408, allocations: 178.8 kB / 473.9 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.877e-05/0.4408, allocations: 11.95 kB / 473.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.04e-05/0.4408, allocations: 8 kB / 473.9 MB, free: 7.832 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001299/0.441, allocations: 56.39 kB / 474 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.4412, allocations: 108.8 kB / 474.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.4412, allocations: 0 / 474.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.4412, allocations: 0 / 474.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4412, allocations: 4 kB / 474.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006757/0.4419, allocations: 0.5064 MB / 474.6 MB, free: 7.102 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.442, allocations: 81.09 kB / 474.7 MB, free: 7.004 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.889e-05/0.4421, allocations: 29.72 kB / 474.7 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.4421, allocations: 3.984 kB / 474.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.4421, allocations: 38.67 kB / 474.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.4421, allocations: 0 / 474.8 MB, free: 6.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003056/0.4424, allocations: 95.33 kB / 474.9 MB, free: 6.812 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.4425, allocations: 81.11 kB / 474.9 MB, free: 6.715 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.4426, allocations: 120.1 kB / 475 MB, free: 6.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.4426, allocations: 25.7 kB / 475.1 MB, free: 6.562 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.4427, allocations: 111.6 kB / 475.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.4427, allocations: 35.55 kB / 475.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.4427, allocations: 0 / 475.2 MB, free: 6.414 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4428, allocations: 326.8 kB / 475.5 MB, free: 6.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.146e-05/0.4429, allocations: 20 kB / 475.6 MB, free: 6.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-05/0.443, allocations: 76.59 kB / 475.6 MB, free: 5.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.955e-05/0.443, allocations: 35.92 kB / 475.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.443, allocations: 0 / 475.7 MB, free: 5.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002398/0.4433, allocations: 143.1 kB / 475.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.4433, allocations: 8.25 kB / 475.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4433, allocations: 4 kB / 475.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002077/0.4435, allocations: 37.7 kB / 475.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001283/0.4437, allocations: 23.92 kB / 475.9 MB, free: 5.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/0.4454, allocations: 2.442 MB / 478.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.872e-05/0.4455, allocations: 7.906 kB / 478.3 MB, free: 3.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.4455, allocations: 4 kB / 478.3 MB, free: 3.016 MB / 330.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 (14): * Single equations (assignments): 12 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.311e-05/0.4456, allocations: 112.9 kB / 478.4 MB, free: 2.898 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.4456, allocations: 4 kB / 478.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.965e-05/0.4457, allocations: 12.33 kB / 478.5 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-06/0.4457, allocations: 4.094 kB / 478.5 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4457, allocations: 4 kB / 478.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.4457, allocations: 3.953 kB / 478.5 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.4459, allocations: 170.1 kB / 478.6 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.446, allocations: 3.938 kB / 478.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.591e-05/0.446, allocations: 15.98 kB / 478.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.024e-05/0.4461, allocations: 29.72 kB / 478.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.4462, allocations: 3.391 kB / 478.7 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001433/0.4476, allocations: 2.435 MB / 481.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.4476, allocations: 0 / 481.1 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.4479, allocations: 311.6 kB / 481.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.736e-05/0.4479, allocations: 85.02 kB / 481.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.366e-05/0.448, allocations: 3.953 kB / 481.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.4481, allocations: 0 / 481.5 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.947e-05/0.4481, allocations: 12.03 kB / 481.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.4481, allocations: 4 kB / 481.5 MB, free: 15.49 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.955e-05/0.4482, allocations: 91.27 kB / 481.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4482, allocations: 4 kB / 481.6 MB, free: 15.4 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003366/0.4485, allocations: 35.84 kB / 481.7 MB, free: 15.36 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (J1.phi,J2.w,J3.phi,J4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001284/0.4486, allocations: 96.12 kB / 481.7 MB, free: 15.26 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000376/0.449, allocations: 271.9 kB / 482 MB, free: 14.98 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.449, allocations: 4.062 kB / 482 MB, free: 14.97 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002219/0.4493, allocations: 239.6 kB / 482.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.4496, allocations: 22.95 kB / 482.3 MB, free: 14.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006198/0.4502, allocations: 402.8 kB / 482.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.4506, allocations: 0.7086 MB / 483.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.918e-05/0.4506, allocations: 8.875 kB / 483.4 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.938e-05/0.4506, allocations: 11.44 kB / 483.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4506, allocations: 0 / 483.4 MB, free: 13.52 MB / 346.7 MB Notification: Performance of Templates: time 0.003859/0.4545, allocations: 1.326 MB / 484.7 MB, free: 12.2 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions3.pipe 2>&1)