Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.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.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001588/0.001588, allocations: 170.3 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.347/1.347, allocations: 170.6 MB / 183.8 MB, free: 11.47 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.00202/0.00202, allocations: 107.5 kB / 223.2 MB, free: 4.102 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.196/0.196, allocations: 38 MB / 300.4 MB, free: 5.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.727e-05/4.728e-05, allocations: 4 kB / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09908/0.09915, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3582/0.4574, allocations: 76.79 MB / 482.5 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4577, allocations: 72.23 kB / 482.6 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0122/0.47, allocations: 4.321 MB / 486.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.47, allocations: 4 kB / 486.9 MB, free: 18.05 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.47, allocations: 11.78 kB / 486.9 MB, free: 18.04 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007788/0.4708, allocations: 0.5049 MB / 487.4 MB, free: 17.64 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4709, allocations: 11.62 kB / 487.4 MB, free: 17.64 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.662e-05/0.4709, allocations: 23.41 kB / 487.4 MB, free: 17.62 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4712, allocations: 242.5 kB / 487.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.4712, allocations: 15.38 kB / 487.7 MB, free: 17.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.089e-05/0.4713, allocations: 33.98 kB / 487.7 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.4716, allocations: 250 kB / 488 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.701e-05/0.4717, allocations: 3.906 kB / 488 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.4717, allocations: 11.44 kB / 488 MB, free: 17.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4717, allocations: 7.875 kB / 488 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.4721, allocations: 217.2 kB / 488.2 MB, free: 17.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.4732, allocations: 0.7348 MB / 488.9 MB, free: 17.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.4737, allocations: 237.8 kB / 489.2 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.4739, allocations: 132.2 kB / 489.3 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.531e-05/0.4739, allocations: 3.906 kB / 489.3 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.375e-05/0.4739, allocations: 34.44 kB / 489.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/0.4739, allocations: 0 / 489.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002002/0.4759, allocations: 1.23 MB / 490.6 MB, free: 16.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.476, allocations: 57.77 kB / 490.6 MB, free: 16.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.4761, allocations: 172.5 kB / 490.8 MB, free: 16.23 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.11e-05/0.4762, allocations: 36.86 kB / 490.8 MB, free: 16.2 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.4763, allocations: 132.9 kB / 491 MB, free: 16.1 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.4763, allocations: 116.3 kB / 491.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.667e-05/0.4764, allocations: 3.375 kB / 491.1 MB, free: 16.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.071e-05/0.4765, allocations: 340.2 kB / 491.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.4766, allocations: 107.6 kB / 491.5 MB, free: 15.72 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.4768, allocations: 167.8 kB / 491.7 MB, free: 15.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.477, allocations: 107.4 kB / 491.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.477, allocations: 0 / 491.8 MB, free: 15.67 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007122/0.4777, allocations: 484.2 kB / 492.2 MB, free: 15.59 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.4778, allocations: 7.766 kB / 492.3 MB, free: 15.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.4778, allocations: 11.91 kB / 492.3 MB, free: 15.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004371/0.4782, allocations: 244.1 kB / 492.5 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002035/0.4784, allocations: 48.19 kB / 492.6 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005383/0.479, allocations: 0.7466 MB / 493.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.4792, allocations: 51.22 kB / 493.3 MB, free: 15.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.129e-05/0.4793, allocations: 15.5 kB / 493.4 MB, free: 15.02 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (bearingFriction1.free,$PRE.bearingFriction1.startForward,bearingFriction1.startForward,$PRE.bearingFriction1.startBackward,bearingFriction1.startBackward,bearingFriction1.locked,$PRE.bearingFriction1.mode,bearingFriction1.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 9.58e-05/0.4794, allocations: 128.2 kB / 493.5 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.873e-05/0.4794, allocations: 23.31 kB / 493.5 MB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.566e-05/0.4795, allocations: 40.19 kB / 493.5 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.4795, allocations: 3.719 kB / 493.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.4796, allocations: 3.875 kB / 493.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.4796, allocations: 3.188 kB / 493.6 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00142/0.481, allocations: 0.9741 MB / 494.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.481, allocations: 0 / 494.5 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002195/0.4812, allocations: 54.16 kB / 494.6 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003408/0.4816, allocations: 226.9 kB / 494.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.714e-05/0.4816, allocations: 10.23 kB / 494.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004407/0.4821, allocations: 0.702 MB / 495.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.4821, allocations: 3.688 kB / 495.5 MB, free: 13.93 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008713/0.483, allocations: 0.6975 MB / 496.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.4831, allocations: 125.2 kB / 496.3 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.4832, allocations: 10.97 kB / 496.4 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.4834, allocations: 54.52 kB / 496.4 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.4836, allocations: 58.11 kB / 496.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/0.4836, allocations: 14.3 kB / 496.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.4837, allocations: 142.2 kB / 496.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4837, allocations: 0 / 496.6 MB, free: 13.5 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.4841, allocations: 79.84 kB / 496.7 MB, free: 13.49 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.4843, allocations: 122 kB / 496.8 MB, free: 13.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.4848, allocations: 296.5 kB / 497.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4848, allocations: 0 / 497.1 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002215/0.4851, allocations: 146.1 kB / 497.2 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4853, allocations: 24.09 kB / 497.3 MB, free: 13.38 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.4869, allocations: 0.6759 MB / 497.9 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000173/0.4871, allocations: 0.7599 MB / 498.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.161e-05/0.4872, allocations: 19.58 kB / 498.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.203e-05/0.4873, allocations: 26.92 kB / 498.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4873, allocations: 0 / 498.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of Templates: time 0.006703/0.494, allocations: 4.18 MB / 0.4911 GB, free: 12.03 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1)