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.009379/0.009379, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001891/0.001891, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.611/1.611, allocations: 205.1 MB / 222.6 MB, free: 4.527 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.362/0.362, allocations: 38 MB / 307.9 MB, free: 9.922 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.001806/0.001806, allocations: 63.91 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3945/0.3963, allocations: 56.47 MB / 489.4 MB, free: 20.04 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005013/0.4014, allocations: 2.232 MB / 491.7 MB, free: 18.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.4034, allocations: 0.7776 MB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.4036, allocations: 11.78 kB / 492.5 MB, free: 17.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.404, allocations: 37.56 kB / 492.5 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.4043, allocations: 67.2 kB / 492.6 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007183/0.405, allocations: 134.9 kB / 492.7 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.4055, allocations: 331.8 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002863/0.4058, allocations: 84.73 kB / 493.1 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000317/0.4062, allocations: 143.6 kB / 493.2 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003672/0.4065, allocations: 153.7 kB / 493.4 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.4067, allocations: 26.38 kB / 493.4 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003051/0.407, allocations: 83.53 kB / 493.5 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.4071, allocations: 58.06 kB / 493.6 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.4073, allocations: 135.1 kB / 493.7 MB, free: 17.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.408, allocations: 342.2 kB / 494 MB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.408, allocations: 0.6094 kB / 494 MB, free: 17.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.408, allocations: 0 / 494 MB, free: 17.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.408, allocations: 1.188 kB / 494 MB, free: 17.2 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.001008/0.409, allocations: 0.5561 MB / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.4091, allocations: 13.52 kB / 494.6 MB, free: 16.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.178e-05/0.4092, allocations: 25.34 kB / 494.6 MB, free: 16.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004102/0.4096, allocations: 257.3 kB / 494.9 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.067e-05/0.4097, allocations: 17.09 kB / 494.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.945e-05/0.4097, allocations: 19.22 kB / 494.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006775/0.4104, allocations: 267.3 kB / 495.2 MB, free: 16.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.746e-05/0.4105, allocations: 5.766 kB / 495.2 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.4105, allocations: 13.5 kB / 495.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.4105, allocations: 5.938 kB / 495.2 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.4112, allocations: 233.3 kB / 495.4 MB, free: 16.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0017/0.4129, allocations: 0.7263 MB / 496.2 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006836/0.4136, allocations: 244.7 kB / 496.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/0.414, allocations: 138.5 kB / 496.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/0.414, allocations: 3.25 kB / 496.5 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.4141, allocations: 36.44 kB / 496.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=25): time 1.443e-06/0.4141, allocations: 4 kB / 496.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=33): time 0.003499/0.4176, allocations: 1.464 MB / 498 MB, free: 14.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.511e-05/0.4176, allocations: 54.03 kB / 498.1 MB, free: 14.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.4179, allocations: 201.4 kB / 498.3 MB, free: 14.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.202e-05/0.4179, allocations: 34.44 kB / 498.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.418, allocations: 139.7 kB / 498.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4182, allocations: 115.8 kB / 498.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.4183, allocations: 66.02 kB / 498.6 MB, free: 14.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4184, allocations: 335.3 kB / 499 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.4187, allocations: 120 kB / 499.1 MB, free: 13.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.419, allocations: 175.4 kB / 499.2 MB, free: 13.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004781/0.4195, allocations: 246.2 kB / 499.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.4195, allocations: 0.6094 kB / 499.5 MB, free: 13.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008872/0.4204, allocations: 434.4 kB / 499.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.4205, allocations: 7.094 kB / 499.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.4205, allocations: 0 / 499.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00058/0.4211, allocations: 232.8 kB / 0.4884 GB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.4213, allocations: 56.95 kB / 0.4885 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006977/0.422, allocations: 0.7567 MB / 0.4892 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002666/0.4223, allocations: 33.98 kB / 0.4892 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/0.4224, allocations: 14.56 kB / 0.4893 GB, free: 12.75 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.0001481/0.4225, allocations: 142 kB / 0.4894 GB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.4226, allocations: 22.91 kB / 0.4894 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/0.4227, allocations: 41.28 kB / 0.4895 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-06/0.4227, allocations: 7.562 kB / 0.4895 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.4227, allocations: 0 / 0.4895 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4227, allocations: 1.453 kB / 0.4895 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.4243, allocations: 0.9481 MB / 0.4904 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.4243, allocations: 5.094 kB / 0.4904 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002477/0.4246, allocations: 48.88 kB / 0.4904 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004448/0.425, allocations: 220.1 kB / 0.4907 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.4251, allocations: 9.625 kB / 0.4907 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000556/0.4256, allocations: 0.7135 MB / 0.4914 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4257, allocations: 1.906 kB / 0.4914 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.4268, allocations: 0.6487 MB / 0.492 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.427, allocations: 126.2 kB / 0.4921 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.456e-05/0.427, allocations: 12.16 kB / 0.4921 GB, free: 10.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002778/0.4273, allocations: 37.75 kB / 0.4922 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.4275, allocations: 49.72 kB / 0.4922 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4275, allocations: 13.67 kB / 0.4922 GB, free: 10.81 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.4276, allocations: 149 kB / 0.4924 GB, free: 10.71 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4276, allocations: 0 / 0.4924 GB, free: 10.71 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.4281, allocations: 78.48 kB / 0.4924 GB, free: 10.7 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.0002063/0.4283, allocations: 132.3 kB / 0.4926 GB, free: 10.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.429, allocations: 319.4 kB / 0.4929 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4291, allocations: 0 / 0.4929 GB, free: 10.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.4294, allocations: 169 kB / 0.493 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.4298, allocations: 31.34 kB / 0.4931 GB, free: 10.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.4319, allocations: 0.7428 MB / 0.4938 GB, free: 10.03 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.4322, allocations: 0.7521 MB / 0.4945 GB, free: 9.324 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001196/0.4323, allocations: 19.77 kB / 0.4945 GB, free: 9.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.074e-05/0.4324, allocations: 25.52 kB / 0.4946 GB, free: 9.309 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4324, allocations: 4 kB / 0.4946 GB, free: 9.305 MB / 382.1 MB Notification: Performance of Templates: time 0.01142/0.4439, allocations: 5.138 MB / 0.4996 GB, free: 7.387 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)