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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007368/0.007369, allocations: 101.1 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 190.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.1 MB / 222.5 MB, free: 4.383 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3783/0.3783, allocations: 37.99 MB / 307.9 MB, free: 10.39 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 64.56 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3417, allocations: 56.47 MB / 489.4 MB, free: 19.89 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.004071/0.3459, allocations: 2.234 MB / 491.7 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3475, allocations: 0.7684 MB / 492.5 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001256/0.3477, allocations: 12.38 kB / 492.5 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002178/0.3479, allocations: 34.28 kB / 492.5 MB, free: 17.76 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001378/0.348, allocations: 70.89 kB / 492.6 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.3484, allocations: 143.1 kB / 492.7 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.3488, allocations: 333 kB / 493 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.349, allocations: 84.78 kB / 493.1 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002165/0.3493, allocations: 140.3 kB / 493.3 MB, free: 17.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002732/0.3495, allocations: 155.2 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.87e-05/0.3496, allocations: 25.78 kB / 493.4 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.3498, allocations: 74.75 kB / 493.5 MB, free: 17.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.3499, allocations: 66.67 kB / 493.6 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001601/0.3501, allocations: 138.7 kB / 493.7 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005218/0.3506, allocations: 342.1 kB / 494 MB, free: 17.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3506, allocations: 0 / 494 MB, free: 17.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3506, allocations: 0 / 494 MB, free: 17.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.3506, allocations: 1.031 kB / 494 MB, free: 17.05 MB / 382.1 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.0009281/0.3516, allocations: 0.5487 MB / 494.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3516, allocations: 13.17 kB / 494.6 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.3517, allocations: 26.02 kB / 494.6 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.352, allocations: 264.8 kB / 494.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.878e-05/0.352, allocations: 14.34 kB / 494.9 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.555e-05/0.3521, allocations: 21.72 kB / 494.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.3526, allocations: 267.6 kB / 495.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3527, allocations: 1.766 kB / 495.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.933e-05/0.3527, allocations: 9.344 kB / 495.2 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.3527, allocations: 9.875 kB / 495.2 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004953/0.3532, allocations: 238.6 kB / 495.4 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.3546, allocations: 0.7169 MB / 496.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.3553, allocations: 246 kB / 496.4 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002602/0.3555, allocations: 146.5 kB / 496.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.3556, allocations: 3.344 kB / 496.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.57e-05/0.3556, allocations: 31.81 kB / 496.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.3556, allocations: 4 kB / 496.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003075/0.3587, allocations: 1.456 MB / 498 MB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.3587, allocations: 59.47 kB / 498.1 MB, free: 14.49 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3589, allocations: 200.8 kB / 498.3 MB, free: 14.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.411e-05/0.359, allocations: 33.91 kB / 498.3 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.3591, allocations: 143.3 kB / 498.5 MB, free: 14.19 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.255e-05/0.3592, allocations: 112.1 kB / 498.6 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.3593, allocations: 65.73 kB / 498.6 MB, free: 14.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.662e-05/0.3594, allocations: 331.5 kB / 498.9 MB, free: 13.74 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.3597, allocations: 124.7 kB / 499.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.36, allocations: 167.1 kB / 499.2 MB, free: 13.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004336/0.3604, allocations: 250.9 kB / 499.5 MB, free: 13.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3604, allocations: 3.938 kB / 499.5 MB, free: 13.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008241/0.3612, allocations: 435.1 kB / 499.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.3613, allocations: 4.688 kB / 499.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3613, allocations: 1.375 kB / 499.9 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005405/0.3618, allocations: 232.5 kB / 0.4884 GB, free: 13.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002327/0.3621, allocations: 56.84 kB / 0.4885 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007086/0.3628, allocations: 0.7504 MB / 0.4892 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.363, allocations: 37.23 kB / 0.4892 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.3631, allocations: 13.62 kB / 0.4893 GB, free: 12.61 MB / 382.1 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,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.3633, allocations: 146.4 kB / 0.4894 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.3633, allocations: 23.52 kB / 0.4894 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.3634, allocations: 37.61 kB / 0.4895 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3634, allocations: 2.906 kB / 0.4895 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.3634, allocations: 8.062 kB / 0.4895 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3635, allocations: 1.5 kB / 0.4895 GB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.3651, allocations: 0.9475 MB / 0.4904 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.3651, allocations: 6.219 kB / 0.4904 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002417/0.3654, allocations: 48.16 kB / 0.4904 GB, free: 11.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004904/0.3659, allocations: 216.4 kB / 0.4906 GB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.282e-05/0.3659, allocations: 10.36 kB / 0.4907 GB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006372/0.3666, allocations: 0.7134 MB / 0.4914 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.3666, allocations: 0 / 0.4914 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001273/0.3679, allocations: 0.6539 MB / 0.492 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.368, allocations: 129.9 kB / 0.4921 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.462e-05/0.3681, allocations: 12.61 kB / 0.4921 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.3683, allocations: 37.25 kB / 0.4922 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001565/0.3685, allocations: 45.45 kB / 0.4922 GB, free: 10.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.3686, allocations: 13.38 kB / 0.4922 GB, free: 10.66 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.3687, allocations: 146.2 kB / 0.4924 GB, free: 10.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.02e-07/0.3687, allocations: 0 / 0.4924 GB, free: 10.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004697/0.3692, allocations: 81.62 kB / 0.4924 GB, free: 10.55 MB / 382.1 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00027/0.3695, allocations: 133.7 kB / 0.4926 GB, free: 10.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008782/0.3704, allocations: 310.3 kB / 0.4929 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3704, allocations: 3.938 kB / 0.4929 GB, free: 10.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.3708, allocations: 177.2 kB / 0.493 GB, free: 10.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004133/0.3712, allocations: 31.97 kB / 0.4931 GB, free: 10.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3731, allocations: 0.7331 MB / 0.4938 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3734, allocations: 0.7505 MB / 0.4945 GB, free: 9.188 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.3736, allocations: 23.92 kB / 0.4945 GB, free: 9.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.3736, allocations: 25.59 kB / 0.4946 GB, free: 9.168 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3737, allocations: 4 kB / 0.4946 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Templates: time 0.01424/0.3879, allocations: 5.14 MB / 0.4996 GB, free: 7.258 MB / 382.1 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)