Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.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.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") translateModel(ModelicaTest.Rotational.ForUsersGuide.Directions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007325/0.007325, allocations: 101.2 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.001497/0.001497, allocations: 194.3 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.548/1.548, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3346/0.3346, allocations: 38 MB / 307.9 MB, free: 10.05 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.001557/0.001557, allocations: 75.89 kB / 433 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4019, allocations: 56.46 MB / 489.4 MB, free: 20.14 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.Directions): time 0.004952/0.4069, allocations: 2.83 MB / 492.3 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.4086, allocations: 0.7472 MB / 493 MB, free: 17.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/0.4088, allocations: 12.06 kB / 493 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000216/0.409, allocations: 68.25 kB / 493.1 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002493/0.4093, allocations: 126 kB / 493.2 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002992/0.4096, allocations: 90.02 kB / 493.3 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000511/0.4101, allocations: 449 kB / 493.8 MB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.4105, allocations: 196.9 kB / 493.9 MB, free: 17.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.4107, allocations: 174.5 kB / 494.1 MB, free: 17 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.411, allocations: 190.6 kB / 494.3 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.465e-05/0.4111, allocations: 35.53 kB / 494.3 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.712e-05/0.4112, allocations: 35.5 kB / 494.4 MB, free: 16.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.835e-05/0.4112, allocations: 84.97 kB / 494.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002005/0.4115, allocations: 203.4 kB / 494.7 MB, free: 16.72 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000571/0.412, allocations: 456.7 kB / 495.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.412, allocations: 1.219 kB / 495.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4121, allocations: 0 / 495.1 MB, free: 16.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.4121, allocations: 0 / 495.1 MB, free: 16.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00102/0.4131, allocations: 0.662 MB / 495.8 MB, free: 16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4132, allocations: 16.83 kB / 495.8 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.4133, allocations: 42.03 kB / 495.8 MB, free: 15.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.4137, allocations: 298.3 kB / 496.1 MB, free: 15.7 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.025e-05/0.4137, allocations: 29 kB / 496.1 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-05/0.4138, allocations: 42.78 kB / 496.2 MB, free: 15.67 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007586/0.4146, allocations: 387.2 kB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.598e-05/0.4146, allocations: 11.02 kB / 496.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.718e-05/0.4147, allocations: 15.38 kB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4147, allocations: 13.31 kB / 496.6 MB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005544/0.4153, allocations: 247.1 kB / 496.8 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001885/0.4171, allocations: 1.089 MB / 497.9 MB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006923/0.4178, allocations: 350.8 kB / 498.3 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.4182, allocations: 180.2 kB / 498.4 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.906e-05/0.4182, allocations: 3.812 kB / 498.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.033e-05/0.4183, allocations: 42.31 kB / 498.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 1.603e-06/0.4183, allocations: 0 / 498.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=57): time 0.004825/0.4231, allocations: 2.451 MB / 0.4892 GB, free: 12.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4232, allocations: 109.7 kB / 0.4893 GB, free: 12.38 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/0.4236, allocations: 242.8 kB / 0.4895 GB, free: 12.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.4236, allocations: 32.45 kB / 0.4896 GB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.4237, allocations: 181.5 kB / 0.4897 GB, free: 12.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.4239, allocations: 201.7 kB / 0.4899 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000178/0.4241, allocations: 86.31 kB / 0.49 GB, free: 11.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.4242, allocations: 347.5 kB / 0.4903 GB, free: 11.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4246, allocations: 131.6 kB / 0.4905 GB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003649/0.4249, allocations: 230.7 kB / 0.4907 GB, free: 11.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006334/0.4256, allocations: 399 kB / 0.4911 GB, free: 11.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.4256, allocations: 1.031 kB / 0.4911 GB, free: 11.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00112/0.4267, allocations: 0.5632 MB / 0.4916 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.4268, allocations: 9.375 kB / 0.4916 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.4268, allocations: 3.531 kB / 0.4916 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/0.4272, allocations: 120.1 kB / 0.4918 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004363/0.4277, allocations: 99.64 kB / 0.4918 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004676/0.4323, allocations: 5.214 MB / 0.4969 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.4326, allocations: 18.81 kB / 0.497 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.4327, allocations: 23.75 kB / 0.497 GB, free: 5.73 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002488/0.4329, allocations: 161.8 kB / 0.4971 GB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.4331, allocations: 41.16 kB / 0.4972 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.814e-05/0.4332, allocations: 47.67 kB / 0.4972 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.4332, allocations: 7.875 kB / 0.4972 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.867e-05/0.4332, allocations: 5.719 kB / 0.4972 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.4332, allocations: 5.219 kB / 0.4972 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.4355, allocations: 1.327 MB / 0.4985 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4355, allocations: 1.375 kB / 0.4985 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004465/0.436, allocations: 101.1 kB / 0.4986 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003376/0.4363, allocations: 92.28 kB / 0.4987 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.4364, allocations: 17.48 kB / 0.4987 GB, free: 4.609 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003136/0.4395, allocations: 4.421 MB / 0.5031 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.4395, allocations: 1.344 kB / 0.5031 GB, free: 252 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.4412, allocations: 0.9259 MB / 0.504 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.4413, allocations: 104.8 kB / 0.5041 GB, free: 15.56 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.381e-05/0.4414, allocations: 13.47 kB / 0.5041 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002458/0.4416, allocations: 16.47 kB / 0.5041 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4418, allocations: 51.48 kB / 0.5041 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.09e-05/0.4418, allocations: 15.67 kB / 0.5042 GB, free: 15.52 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002271/0.442, allocations: 171.1 kB / 0.5043 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.442, allocations: 5.531 kB / 0.5043 GB, free: 15.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007917/0.4428, allocations: 120.5 kB / 0.5044 GB, free: 15.4 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (J5.phi,J5.w,J3.phi,J3.w,J1.phi,J1.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 (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001637/0.443, allocations: 107.8 kB / 0.5045 GB, free: 15.3 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.4447, allocations: 0.7814 MB / 0.5053 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4447, allocations: 0 / 0.5053 GB, free: 14.79 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.4456, allocations: 0.5782 MB / 0.5059 GB, free: 14.38 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000662/0.4463, allocations: 59.59 kB / 0.5059 GB, free: 14.35 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.4483, allocations: 1.077 MB / 0.507 GB, free: 13.62 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000499/0.4488, allocations: 0.8196 MB / 0.5078 GB, free: 12.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.449, allocations: 41.17 kB / 0.5078 GB, free: 12.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001076/0.4491, allocations: 37.48 kB / 0.5078 GB, free: 12.88 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4491, allocations: 0 / 0.5078 GB, free: 12.88 MB / 398.1 MB Notification: Performance of Templates: time 0.01161/0.4607, allocations: 4.688 MB / 0.5124 GB, free: 11.02 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.sim & ./ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Rotational.ForUsersGuide.Directions.pipe 2>&1)