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.001463/0.001464, allocations: 169.8 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.487/1.487, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001622/0.001622, allocations: 103.5 kB / 223.2 MB, free: 4.043 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.1856/0.1856, allocations: 38 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.619e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.0966, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.4138, allocations: 73.29 MB / 479 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4141, allocations: 69 kB / 479.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004889/0.419, allocations: 1.954 MB / 481 MB, free: 18.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.419, allocations: 0 / 481 MB, free: 18.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.4191, allocations: 3 kB / 481 MB, free: 18.24 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.0002874/0.4194, allocations: 369.5 kB / 481.4 MB, free: 17.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.4194, allocations: 10 kB / 481.4 MB, free: 17.88 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.4195, allocations: 15.22 kB / 481.4 MB, free: 17.87 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.914e-05/0.4196, allocations: 175.2 kB / 481.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.4196, allocations: 14.92 kB / 481.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/0.4196, allocations: 11.56 kB / 481.6 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.4198, allocations: 125.6 kB / 481.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.4199, allocations: 9.906 kB / 481.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.4199, allocations: 4.875 kB / 481.7 MB, free: 17.61 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.4199, allocations: 6.406 kB / 481.7 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001044/0.42, allocations: 58.42 kB / 481.8 MB, free: 17.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.4207, allocations: 0.5414 MB / 482.3 MB, free: 17.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.4209, allocations: 85.95 kB / 482.4 MB, free: 17.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.697e-05/0.4209, allocations: 28.03 kB / 482.4 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.063e-05/0.4209, allocations: 0 / 482.4 MB, free: 17.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.211e-05/0.4209, allocations: 41.73 kB / 482.5 MB, free: 17.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.4209, allocations: 0 / 482.5 MB, free: 17.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002755/0.4212, allocations: 103.8 kB / 482.6 MB, free: 17.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/0.4213, allocations: 78.98 kB / 482.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.26e-05/0.4213, allocations: 113.4 kB / 482.8 MB, free: 16.83 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.4214, allocations: 31.3 kB / 482.8 MB, free: 16.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.983e-05/0.4214, allocations: 119 kB / 482.9 MB, free: 16.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.4214, allocations: 34.62 kB / 483 MB, free: 16.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4214, allocations: 0 / 483 MB, free: 16.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.039e-05/0.4215, allocations: 322.6 kB / 483.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-05/0.4215, allocations: 20.44 kB / 483.3 MB, free: 16.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.58e-05/0.4216, allocations: 93.48 kB / 483.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.487e-05/0.4217, allocations: 35.17 kB / 483.4 MB, free: 16.27 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4217, allocations: 8.906 kB / 483.4 MB, free: 16.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000232/0.4219, allocations: 166.2 kB / 483.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.4219, allocations: 5.469 kB / 483.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4219, allocations: 3.219 kB / 483.6 MB, free: 16.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.4221, allocations: 42.14 kB / 483.6 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.4222, allocations: 23.16 kB / 483.7 MB, free: 16.17 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/0.4234, allocations: 2.526 MB / 486.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.407e-05/0.4234, allocations: 8.75 kB / 486.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.4235, allocations: 13.59 kB / 486.2 MB, free: 13.64 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 5.513e-05/0.4235, allocations: 114.4 kB / 486.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.298e-05/0.4236, allocations: 12.64 kB / 486.3 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.4236, allocations: 16 kB / 486.3 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.4236, allocations: 0.9375 kB / 486.4 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.4236, allocations: 5.094 kB / 486.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.4236, allocations: 1.719 kB / 486.4 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.4238, allocations: 200.4 kB / 486.6 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4239, allocations: 4 kB / 486.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.297e-05/0.4239, allocations: 14.2 kB / 486.6 MB, free: 13.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.424, allocations: 35.22 kB / 486.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.4241, allocations: 7.375 kB / 486.6 MB, free: 13.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/0.4251, allocations: 2.532 MB / 489.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.4252, allocations: 1.094 kB / 489.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002181/0.4254, allocations: 319.5 kB / 489.5 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.169e-05/0.4254, allocations: 87.14 kB / 489.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.4254, allocations: 1.531 kB / 489.5 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.519e-05/0.4255, allocations: 5.422 kB / 489.5 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4256, allocations: 15.52 kB / 489.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4256, allocations: 1.469 kB / 489.6 MB, free: 10.4 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.472e-05/0.4256, allocations: 93.55 kB / 489.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4256, allocations: 1.375 kB / 489.7 MB, free: 10.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003197/0.4259, allocations: 35.88 kB / 489.7 MB, free: 10.32 MB / 330.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.0001024/0.426, allocations: 104.9 kB / 489.8 MB, free: 10.22 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003104/0.4264, allocations: 296.7 kB / 490.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4264, allocations: 0 / 490.1 MB, free: 9.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.4266, allocations: 262.6 kB / 490.3 MB, free: 9.766 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003207/0.4269, allocations: 20.95 kB / 490.4 MB, free: 9.762 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000508/0.4274, allocations: 401.1 kB / 490.8 MB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.4276, allocations: 0.7168 MB / 491.5 MB, free: 8.766 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.887e-05/0.4276, allocations: 8.078 kB / 491.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.609e-05/0.4276, allocations: 10.88 kB / 491.5 MB, free: 8.754 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4276, allocations: 3.938 kB / 491.5 MB, free: 8.75 MB / 330.7 MB Notification: Performance of Templates: time 0.00348/0.4311, allocations: 1.404 MB / 492.9 MB, free: 8.641 MB / 330.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)