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.01044/0.01044, allocations: 165.6 kB / 15.11 MB, free: 5.973 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.41/1.41, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.00165/0.001651, allocations: 107.3 kB / 226.2 MB, free: 10.09 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.3207/0.3207, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003738/0.0003738, allocations: 12 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1109, allocations: 48.69 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/0.4427, allocations: 73.39 MB / 485 MB, free: 14.26 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.443, allocations: 67.23 kB / 485 MB, free: 14.22 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004343/0.4473, allocations: 1.954 MB / 487 MB, free: 12.6 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4474, allocations: 0 / 487 MB, free: 12.6 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.4474, allocations: 0 / 487 MB, free: 12.6 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.0003536/0.4478, allocations: 391.9 kB / 487.4 MB, free: 12.18 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.4478, allocations: 8.031 kB / 487.4 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.4478, allocations: 18.2 kB / 487.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.4479, allocations: 174.2 kB / 487.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.448, allocations: 7.797 kB / 487.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.011e-05/0.448, allocations: 20.7 kB / 487.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.4482, allocations: 125.3 kB / 487.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.4482, allocations: 0 / 487.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.4482, allocations: 3.75 kB / 487.7 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.4482, allocations: 4 kB / 487.7 MB, free: 11.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.613e-05/0.4484, allocations: 67.14 kB / 487.8 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.4489, allocations: 0.5356 MB / 488.3 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001005/0.4491, allocations: 84.45 kB / 488.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.4491, allocations: 0 / 488.4 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.4491, allocations: 38.61 kB / 488.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.4491, allocations: 4 kB / 488.4 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004874/0.4496, allocations: 301.7 kB / 488.7 MB, free: 10.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.489e-05/0.4496, allocations: 81.05 kB / 488.8 MB, free: 10.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.166e-05/0.4497, allocations: 112.2 kB / 488.9 MB, free: 10.57 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.919e-06/0.4497, allocations: 29.7 kB / 488.9 MB, free: 10.54 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.827e-05/0.4498, allocations: 121.9 kB / 489.1 MB, free: 10.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.058e-05/0.4498, allocations: 34.31 kB / 489.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.4498, allocations: 4 kB / 489.1 MB, free: 10.4 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.4499, allocations: 326.2 kB / 489.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.185e-05/0.4499, allocations: 22.48 kB / 489.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.086e-05/0.45, allocations: 82.05 kB / 489.5 MB, free: 9.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.818e-05/0.45, allocations: 38.94 kB / 489.6 MB, free: 9.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.45, allocations: 4 kB / 489.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002072/0.4502, allocations: 168.9 kB / 489.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.4503, allocations: 4 kB / 489.7 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.4503, allocations: 4.812 kB / 489.7 MB, free: 9.777 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/0.4504, allocations: 35.95 kB / 489.8 MB, free: 9.742 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.419e-05/0.4505, allocations: 27.94 kB / 489.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001109/0.4516, allocations: 2.544 MB / 492.3 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.087e-05/0.4517, allocations: 10.53 kB / 492.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.308e-06/0.4517, allocations: 13.86 kB / 492.4 MB, free: 6.984 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 () * Number of clocked 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 7.253e-05/0.4518, allocations: 128.3 kB / 492.5 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/0.4518, allocations: 7.906 kB / 492.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.4519, allocations: 18.42 kB / 492.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.4519, allocations: 0 / 492.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4519, allocations: 3.984 kB / 492.5 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.4519, allocations: 4 kB / 492.5 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001899/0.4521, allocations: 195.6 kB / 492.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4521, allocations: 0 / 492.7 MB, free: 6.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.745e-05/0.4522, allocations: 15.98 kB / 492.7 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-05/0.4523, allocations: 41.45 kB / 492.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4523, allocations: 3.75 kB / 492.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.4533, allocations: 2.541 MB / 495.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4533, allocations: 4.094 kB / 495.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.4536, allocations: 320.5 kB / 495.6 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.4536, allocations: 88.95 kB / 495.7 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.4536, allocations: 4.031 kB / 495.7 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.4537, allocations: 0 / 495.7 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.973e-05/0.4537, allocations: 15.25 kB / 495.7 MB, free: 3.395 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-06/0.4537, allocations: 4.75 kB / 495.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.4538, allocations: 96.17 kB / 495.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4538, allocations: 0 / 495.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003122/0.4541, allocations: 35.78 kB / 495.9 MB, free: 3.273 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 () * Number of clocked 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 9.975e-05/0.4542, allocations: 99.23 kB / 496 MB, free: 3.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003124/0.4545, allocations: 299.9 kB / 496.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4545, allocations: 0 / 496.3 MB, free: 2.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.4547, allocations: 252.6 kB / 496.5 MB, free: 2.613 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.4551, allocations: 44.86 kB / 496.6 MB, free: 2.578 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006341/0.4557, allocations: 0.5547 MB / 497.1 MB, free: 2.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4558, allocations: 0.72 MB / 497.8 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.359e-05/0.4559, allocations: 8.891 kB / 497.8 MB, free: 1.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/0.4559, allocations: 11.44 kB / 497.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4559, allocations: 0 / 497.9 MB, free: 1.238 MB / 330.7 MB Notification: Performance of Templates: time 0.003167/0.4591, allocations: 1.394 MB / 499.2 MB, free: 15.87 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)