Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_ModelicaTest.Rotational.ForUsersGuide.Directions2") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.01425/0.01425, allocations: 101.7 kB / 15.73 MB, free: 6.07 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.002655/0.002655, allocations: 196.2 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.622/1.622, 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.2+maint.om/package.mo): time 0.3717/0.3717, allocations: 39.95 MB / 309.8 MB, free: 9.434 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.2. 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.001455/0.001455, allocations: 71.89 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3872, allocations: 56.88 MB / 492.6 MB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions2): time 0.003772/0.391, allocations: 2.83 MB / 495.5 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.3922, allocations: 0.7427 MB / 496.2 MB, free: 16.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.3924, allocations: 9.906 kB / 496.2 MB, free: 16.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001839/0.3926, allocations: 55.91 kB / 496.3 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002281/0.3928, allocations: 123.1 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.3931, allocations: 97.27 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.3935, allocations: 434.2 kB / 496.9 MB, free: 16.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.3938, allocations: 139.7 kB / 497.1 MB, free: 16.47 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002391/0.3941, allocations: 164.5 kB / 497.2 MB, free: 16.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002305/0.3943, allocations: 174.6 kB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.162e-05/0.3944, allocations: 31.91 kB / 497.4 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.3944, allocations: 33.03 kB / 497.5 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.268e-05/0.3945, allocations: 83.8 kB / 497.5 MB, free: 16.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.3947, allocations: 197.6 kB / 497.7 MB, free: 16.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.3953, allocations: 438.9 kB / 498.2 MB, free: 15.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3953, allocations: 4 kB / 498.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3953, allocations: 0 / 498.2 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.145e-06/0.3953, allocations: 0 / 498.2 MB, free: 15.96 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.0009017/0.3962, allocations: 0.6519 MB / 498.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3962, allocations: 12.8 kB / 498.8 MB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001054/0.3964, allocations: 42.19 kB / 498.9 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.3968, allocations: 281.3 kB / 499.1 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.3968, allocations: 28.16 kB / 499.2 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.794e-05/0.3969, allocations: 47.48 kB / 499.2 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006466/0.3975, allocations: 394 kB / 499.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.096e-05/0.3976, allocations: 10.8 kB / 499.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.3976, allocations: 16.8 kB / 499.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.3976, allocations: 10.03 kB / 499.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004757/0.3981, allocations: 221.4 kB / 499.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.4002, allocations: 1.727 MB / 0.4898 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004522/0.4007, allocations: 257.7 kB / 0.4901 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.4009, allocations: 96.7 kB / 0.4902 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.4009, allocations: 7.812 kB / 0.4902 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.401, allocations: 47.02 kB / 0.4902 GB, free: 13.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 2.334e-06/0.401, allocations: 0 / 0.4902 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.0007396/0.4017, allocations: 266.2 kB / 0.4905 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.4018, allocations: 211 kB / 0.4907 GB, free: 12.73 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000275/0.4021, allocations: 275.3 kB / 0.4909 GB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.4021, allocations: 27.08 kB / 0.491 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.4022, allocations: 243.9 kB / 0.4912 GB, free: 12.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.426e-05/0.4023, allocations: 132 kB / 0.4913 GB, free: 12.23 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001176/0.4024, allocations: 97.34 kB / 0.4914 GB, free: 12.17 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.4025, allocations: 355.7 kB / 0.4917 GB, free: 11.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.4027, allocations: 96.61 kB / 0.4918 GB, free: 11.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003556/0.4031, allocations: 429.5 kB / 0.4923 GB, free: 11.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005695/0.4037, allocations: 0.5649 MB / 0.4928 GB, free: 10.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.4037, allocations: 3.625 kB / 0.4928 GB, free: 10.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008305/0.4045, allocations: 0.5268 MB / 0.4933 GB, free: 10.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.4046, allocations: 11 kB / 0.4933 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.812e-05/0.4046, allocations: 12.89 kB / 0.4933 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.435e-05/0.4046, allocations: 15.12 kB / 0.4934 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.4051, allocations: 152.1 kB / 0.4935 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.055e-05/0.4051, allocations: 21.88 kB / 0.4935 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.4055, allocations: 68.3 kB / 0.4936 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.4055, allocations: 32.73 kB / 0.4936 GB, free: 10.46 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.0001739/0.4057, allocations: 185.4 kB / 0.4938 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/0.4059, allocations: 32.42 kB / 0.4938 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.868e-05/0.406, allocations: 37.94 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.406, allocations: 9.406 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/0.406, allocations: 2.312 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.406, allocations: 1.922 kB / 0.4939 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.4073, allocations: 0.649 MB / 0.4945 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.4074, allocations: 2.219 kB / 0.4945 GB, free: 9.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004599/0.4078, allocations: 91.05 kB / 0.4946 GB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4078, allocations: 7.5 kB / 0.4946 GB, free: 9.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/0.4079, allocations: 10.16 kB / 0.4946 GB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.898e-06/0.4079, allocations: 8.016 kB / 0.4946 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4079, allocations: 2.219 kB / 0.4946 GB, free: 9.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000823/0.4087, allocations: 0.8418 MB / 0.4954 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.4088, allocations: 107.7 kB / 0.4956 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.347e-05/0.4089, allocations: 10.3 kB / 0.4956 GB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.4092, allocations: 19.39 kB / 0.4956 GB, free: 8.914 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.062e-05/0.4093, allocations: 20.69 kB / 0.4956 GB, free: 8.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.039e-05/0.4093, allocations: 13.27 kB / 0.4956 GB, free: 8.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002092/0.4096, allocations: 183.5 kB / 0.4958 GB, free: 8.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4096, allocations: 0 / 0.4958 GB, free: 8.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008281/0.4104, allocations: 98.58 kB / 0.4959 GB, free: 8.781 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.0001432/0.4106, allocations: 120.7 kB / 0.496 GB, free: 8.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005948/0.4112, allocations: 294.3 kB / 0.4963 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.4112, allocations: 0 / 0.4963 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001698/0.4113, allocations: 88.97 kB / 0.4964 GB, free: 8.551 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001058/0.4124, allocations: 83.47 kB / 0.4964 GB, free: 8.508 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00196/0.4144, allocations: 1.542 MB / 0.4979 GB, free: 7.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.4147, allocations: 0.7985 MB / 0.4987 GB, free: 6.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002038/0.415, allocations: 45.06 kB / 0.4988 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.415, allocations: 36.73 kB / 0.4988 GB, free: 6.551 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.415, allocations: 0 / 0.4988 GB, free: 6.551 MB / 382.1 MB Notification: Performance of Templates: time 0.007048/0.4221, allocations: 2.999 MB / 0.5017 GB, free: 5.23 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.sim & ./ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Rotational.ForUsersGuide.Directions2.pipe 2>&1)