Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.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.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01387/0.01387, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001915/0.001915, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.628/1.628, allocations: 205.1 MB / 222.5 MB, free: 4.395 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.4038/0.4038, allocations: 37.99 MB / 307.9 MB, free: 10.35 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.001573/0.001573, allocations: 75.83 kB / 433 MB, free: 5.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.3926, allocations: 56.46 MB / 489.5 MB, free: 20.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004092/0.3968, allocations: 2.82 MB / 492.3 MB, free: 18.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001387/0.3982, allocations: 0.7422 MB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002237/0.3984, allocations: 7.531 kB / 493 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002328/0.3987, allocations: 59.67 kB / 493.1 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002408/0.3989, allocations: 123.2 kB / 493.2 MB, free: 17.51 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003214/0.3992, allocations: 88.55 kB / 493.3 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004819/0.3997, allocations: 437.7 kB / 493.7 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.4001, allocations: 137 kB / 493.8 MB, free: 17.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.4003, allocations: 171.6 kB / 494 MB, free: 17.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002951/0.4006, allocations: 178.2 kB / 494.2 MB, free: 17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.553e-05/0.4007, allocations: 31.78 kB / 494.2 MB, free: 17 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.855e-05/0.4008, allocations: 33.47 kB / 494.3 MB, free: 17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.326e-05/0.4009, allocations: 75.44 kB / 494.3 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002349/0.4011, allocations: 201.4 kB / 494.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006829/0.4018, allocations: 431.3 kB / 494.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4018, allocations: 1.125 kB / 494.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4018, allocations: 0 / 494.9 MB, free: 16.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.4019, allocations: 0 / 494.9 MB, free: 16.66 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 0.001195/0.4031, allocations: 0.6467 MB / 495.6 MB, free: 16.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.336e-05/0.4031, allocations: 18.12 kB / 495.6 MB, free: 16.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.4033, allocations: 41.5 kB / 495.7 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.4038, allocations: 282.3 kB / 495.9 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.451e-05/0.4038, allocations: 28.75 kB / 496 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.729e-05/0.4039, allocations: 49.7 kB / 496 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008796/0.4048, allocations: 391 kB / 496.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.305e-05/0.4049, allocations: 2.859 kB / 496.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.382e-05/0.4049, allocations: 24.17 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.4049, allocations: 10.47 kB / 496.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.4055, allocations: 216.6 kB / 496.6 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002592/0.4081, allocations: 1.719 MB / 498.4 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004493/0.4085, allocations: 257.8 kB / 498.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001698/0.4087, allocations: 92.66 kB / 498.7 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.4088, allocations: 11.28 kB / 498.7 MB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4088, allocations: 43.73 kB / 498.7 MB, free: 13.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.715e-06/0.4088, allocations: 3.984 kB / 498.8 MB, free: 13.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.000702/0.4095, allocations: 269.9 kB / 499 MB, free: 13.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.4096, allocations: 211.3 kB / 499.2 MB, free: 13.44 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002768/0.4099, allocations: 272.4 kB / 499.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.4099, allocations: 27.08 kB / 499.5 MB, free: 13.24 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.41, allocations: 242.2 kB / 499.8 MB, free: 13.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.483e-05/0.4101, allocations: 113.2 kB / 499.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001196/0.4102, allocations: 99 kB / 500 MB, free: 12.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.474e-05/0.4103, allocations: 350.2 kB / 0.4886 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.4106, allocations: 97.28 kB / 0.4887 GB, free: 12.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.411, allocations: 430.3 kB / 0.4891 GB, free: 12.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007437/0.4117, allocations: 0.5647 MB / 0.4896 GB, free: 11.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.4118, allocations: 3.781 kB / 0.4896 GB, free: 11.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0009008/0.4127, allocations: 0.5248 MB / 0.4901 GB, free: 11.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.4127, allocations: 10.22 kB / 0.4902 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.4127, allocations: 12.06 kB / 0.4902 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.52e-05/0.4128, allocations: 15.41 kB / 0.4902 GB, free: 11.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/0.4133, allocations: 147.6 kB / 0.4903 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.831e-05/0.4133, allocations: 26.09 kB / 0.4903 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003211/0.4136, allocations: 68 kB / 0.4904 GB, free: 11.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.444e-05/0.4137, allocations: 41.34 kB / 0.4905 GB, free: 11.18 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001809/0.4139, allocations: 180.9 kB / 0.4906 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.414, allocations: 36.67 kB / 0.4907 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.4141, allocations: 37.23 kB / 0.4907 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.4142, allocations: 9.875 kB / 0.4907 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.4142, allocations: 2.094 kB / 0.4907 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.4142, allocations: 7.781 kB / 0.4907 GB, free: 10.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001318/0.4155, allocations: 0.6524 MB / 0.4914 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4155, allocations: 1.688 kB / 0.4914 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004607/0.416, allocations: 86.27 kB / 0.4914 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.416, allocations: 3.625 kB / 0.4914 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.054e-05/0.416, allocations: 10.98 kB / 0.4914 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.4161, allocations: 16.16 kB / 0.4915 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4161, allocations: 2.656 kB / 0.4915 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006957/0.4168, allocations: 0.8296 MB / 0.4923 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.62e-05/0.4168, allocations: 108.3 kB / 0.4924 GB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.4169, allocations: 9.172 kB / 0.4924 GB, free: 9.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.4172, allocations: 15.86 kB / 0.4924 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.157e-05/0.4173, allocations: 26.09 kB / 0.4924 GB, free: 9.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.4173, allocations: 8.578 kB / 0.4924 GB, free: 9.637 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001676/0.4175, allocations: 180.9 kB / 0.4926 GB, free: 9.531 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4175, allocations: 1.281 kB / 0.4926 GB, free: 9.531 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007685/0.4183, allocations: 98.19 kB / 0.4927 GB, free: 9.512 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 18 (inertia2.phi,inertia2.w,inertia1.phi,inertia1.w,inertia5.phi,inertia5.w,inertia6.phi,inertia6.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,J6.phi,J6.w,J4.phi,J4.w,J2.phi,J2.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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001264/0.4184, allocations: 117.1 kB / 0.4928 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005678/0.419, allocations: 294.7 kB / 0.4931 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.419, allocations: 1.406 kB / 0.4931 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001685/0.4192, allocations: 84.58 kB / 0.4932 GB, free: 9.289 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.4202, allocations: 77.53 kB / 0.4933 GB, free: 9.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.4226, allocations: 1.538 MB / 0.4948 GB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.423, allocations: 0.7989 MB / 0.4955 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001981/0.4232, allocations: 46.12 kB / 0.4956 GB, free: 7.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.764e-05/0.4233, allocations: 27.73 kB / 0.4956 GB, free: 7.312 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.4233, allocations: 0 / 0.4956 GB, free: 7.312 MB / 382.1 MB Notification: Performance of Templates: time 0.00873/0.432, allocations: 3.013 MB / 0.4985 GB, free: 6.812 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)