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.008218/0.008218, allocations: 101.7 kB / 15.73 MB, free: 6.457 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.001499/0.001499, allocations: 204.4 kB / 16.68 MB, free: 6.355 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.483/1.483, allocations: 205.1 MB / 222.6 MB, free: 4.562 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.3391/0.3391, allocations: 37.99 MB / 307.9 MB, free: 9.953 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.001444/0.001444, allocations: 63.91 kB / 433 MB, free: 5.426 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3506, allocations: 56.47 MB / 489.5 MB, free: 19.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.004174/0.3549, allocations: 2.823 MB / 492.3 MB, free: 17.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.3561, allocations: 0.743 MB / 493 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001777/0.3563, allocations: 10.41 kB / 493 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001896/0.3565, allocations: 55.5 kB / 493.1 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.3568, allocations: 127.2 kB / 493.2 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002746/0.357, allocations: 89.17 kB / 493.3 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004012/0.3574, allocations: 436.7 kB / 493.7 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.3577, allocations: 153 kB / 493.9 MB, free: 16.96 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.3579, allocations: 160.5 kB / 494 MB, free: 16.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002013/0.3581, allocations: 181.9 kB / 494.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.171e-05/0.3581, allocations: 32.16 kB / 494.2 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.3582, allocations: 32.78 kB / 494.3 MB, free: 16.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.933e-05/0.3583, allocations: 75.72 kB / 494.3 MB, free: 16.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001567/0.3584, allocations: 196.9 kB / 494.5 MB, free: 16.63 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004682/0.3589, allocations: 434.8 kB / 495 MB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3589, allocations: 5.156 kB / 495 MB, free: 16.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3589, allocations: 0 / 495 MB, free: 16.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.359, allocations: 4.688 kB / 495 MB, free: 16.46 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.0008865/0.3598, allocations: 0.6458 MB / 495.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3599, allocations: 14.3 kB / 495.6 MB, free: 15.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.138e-05/0.36, allocations: 49.91 kB / 495.7 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003493/0.3603, allocations: 278.2 kB / 495.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3604, allocations: 28.59 kB / 496 MB, free: 15.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.3604, allocations: 42.31 kB / 496 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006348/0.3611, allocations: 402.1 kB / 496.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.3611, allocations: 7.812 kB / 496.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/0.3611, allocations: 16.19 kB / 496.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.3612, allocations: 9.781 kB / 496.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004475/0.3616, allocations: 217.1 kB / 496.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.3637, allocations: 1.715 MB / 498.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003748/0.3641, allocations: 261.9 kB / 498.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.3643, allocations: 104.3 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.3643, allocations: 2.75 kB / 498.7 MB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3643, allocations: 47.8 kB / 498.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.613e-06/0.3643, allocations: 0 / 498.8 MB, free: 13.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0006822/0.365, allocations: 262.5 kB / 499 MB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.3651, allocations: 214 kB / 499.2 MB, free: 13.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.3654, allocations: 273.7 kB / 499.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.3654, allocations: 31.08 kB / 499.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.3655, allocations: 250.7 kB / 499.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/0.3656, allocations: 125.4 kB / 499.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.3657, allocations: 100.7 kB / 0.4883 GB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.3658, allocations: 349.3 kB / 0.4886 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.366, allocations: 97.66 kB / 0.4887 GB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003431/0.3664, allocations: 424.9 kB / 0.4891 GB, free: 11.83 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/0.3669, allocations: 0.5707 MB / 0.4897 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/0.3669, allocations: 2.75 kB / 0.4897 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008322/0.3678, allocations: 0.5244 MB / 0.4902 GB, free: 11.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.641e-05/0.3678, allocations: 14.28 kB / 0.4902 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.3678, allocations: 11.91 kB / 0.4902 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.3679, allocations: 20.16 kB / 0.4902 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000447/0.3683, allocations: 155.5 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/0.3684, allocations: 21.73 kB / 0.4904 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003102/0.3687, allocations: 63.59 kB / 0.4905 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3687, allocations: 32.22 kB / 0.4905 GB, free: 10.95 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.0001416/0.3689, allocations: 181.9 kB / 0.4907 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.369, allocations: 32.67 kB / 0.4907 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.3691, allocations: 38.44 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.3691, allocations: 4.781 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.3691, allocations: 2.938 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3692, allocations: 2.891 kB / 0.4907 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001172/0.3703, allocations: 0.6497 MB / 0.4914 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3703, allocations: 1.375 kB / 0.4914 GB, free: 10.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004292/0.3708, allocations: 93.59 kB / 0.4915 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.3708, allocations: 3.812 kB / 0.4915 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.841e-05/0.3708, allocations: 15.33 kB / 0.4915 GB, free: 10.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.3708, allocations: 7.969 kB / 0.4915 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.247e-06/0.3708, allocations: 1.969 kB / 0.4915 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006085/0.3715, allocations: 0.8315 MB / 0.4923 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.93e-05/0.3715, allocations: 111.3 kB / 0.4924 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.582e-05/0.3716, allocations: 9.188 kB / 0.4924 GB, free: 9.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.3719, allocations: 15.23 kB / 0.4924 GB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.576e-05/0.372, allocations: 25.45 kB / 0.4925 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.746e-05/0.372, allocations: 12.78 kB / 0.4925 GB, free: 9.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.3722, allocations: 182.2 kB / 0.4927 GB, free: 9.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3722, allocations: 0 / 0.4927 GB, free: 9.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007496/0.3729, allocations: 99.3 kB / 0.4927 GB, free: 9.285 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 9.573e-05/0.373, allocations: 120.7 kB / 0.4929 GB, free: 9.172 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005498/0.3736, allocations: 295.2 kB / 0.4931 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3736, allocations: 0 / 0.4931 GB, free: 9.078 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001919/0.3738, allocations: 94.59 kB / 0.4932 GB, free: 9.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009857/0.3748, allocations: 78.08 kB / 0.4933 GB, free: 9.008 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001861/0.3767, allocations: 1.554 MB / 0.4948 GB, free: 7.777 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.377, allocations: 0.7984 MB / 0.4956 GB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000161/0.3771, allocations: 41.25 kB / 0.4956 GB, free: 7.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.1e-05/0.3772, allocations: 29.75 kB / 0.4957 GB, free: 7.055 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3772, allocations: 0 / 0.4957 GB, free: 7.055 MB / 382.1 MB Notification: Performance of Templates: time 0.007866/0.3851, allocations: 2.998 MB / 0.4986 GB, free: 6.609 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)