Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.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.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009359/0.0009359, allocations: 100 kB / 15.05 MB, free: 1.105 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.001071/0.001071, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.526/1.526, allocations: 205.4 MB / 222.1 MB, free: 5.672 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.3768/0.3768, allocations: 39.99 MB / 310.4 MB, free: 9.668 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.0005417/0.000542, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1252, allocations: 57.95 MB / 436.8 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.2689/0.3941, allocations: 35.38 MB / 472.1 MB, free: 32.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01867/0.4128, allocations: 7.807 MB / 479.9 MB, free: 28.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008241/0.4211, allocations: 173.4 kB / 480.1 MB, free: 28.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005266/0.4264, allocations: 1.885 MB / 482 MB, free: 27.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01692/0.4434, allocations: 5.307 MB / 487.3 MB, free: 25.01 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.4452, allocations: 247 kB / 487.5 MB, free: 24.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0235/0.4687, allocations: 15.26 MB / 0.491 GB, free: 20.3 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008626/0.4774, allocations: 3.865 MB / 0.4948 GB, free: 18.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004428/0.4819, allocations: 1.562 MB / 0.4963 GB, free: 18.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004692/0.4866, allocations: 1.934 MB / 0.4982 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002025/0.4887, allocations: 229.8 kB / 0.4984 GB, free: 17.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002918/0.4916, allocations: 0.5635 MB / 0.499 GB, free: 17.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004024/0.4957, allocations: 2.374 MB / 0.5013 GB, free: 16.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003716/0.4994, allocations: 1.332 MB / 0.5026 GB, free: 15.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01153/0.511, allocations: 8.139 MB / 0.5105 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.5111, allocations: 0 / 0.5105 GB, free: 10.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.368e-06/0.5111, allocations: 4.656 kB / 0.5105 GB, free: 10.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005112/0.5116, allocations: 0 / 0.5105 GB, free: 10.69 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01421/0.5258, allocations: 5.946 MB / 0.5164 GB, free: 5.992 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5259, allocations: 11.97 kB / 0.5164 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02143/0.5473, allocations: 7.129 MB / 0.5233 GB, free: 14.83 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009618/0.557, allocations: 3.213 MB / 0.5265 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/0.5574, allocations: 323.9 kB / 0.5268 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002654/0.5601, allocations: 419.6 kB / 0.5272 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04059/0.6007, allocations: 18.98 MB / 0.5457 GB, free: 7.094 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000176/0.6009, allocations: 39.58 kB / 0.5457 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/0.6035, allocations: 207.7 kB / 0.5459 GB, free: 6.852 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008231/0.6118, allocations: 4.746 MB / 0.5506 GB, free: 2.098 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.043/0.6548, allocations: 17.6 MB / 0.5678 GB, free: 480 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1059/0.7608, allocations: 61.35 MB / 0.6277 GB, free: 1.574 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2801/1.041, allocations: 8.431 MB / 0.6359 GB, free: 131.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0228/1.064, allocations: 11.94 MB / 0.6476 GB, free: 127.4 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.064, allocations: 57.25 kB / 0.6476 GB, free: 127.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=321): time 7.534e-06/1.064, allocations: 0 / 0.6476 GB, free: 127.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=321): time 0.01781/1.082, allocations: 8.554 MB / 0.656 GB, free: 124.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/1.082, allocations: 103 kB / 0.6561 GB, free: 124.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0117/1.094, allocations: 5.641 MB / 0.6616 GB, free: 122.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007351/1.094, allocations: 61.69 kB / 0.6616 GB, free: 122.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005133/1.099, allocations: 5.076 MB / 0.6666 GB, free: 118.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002754/1.102, allocations: 1.205 MB / 0.6678 GB, free: 117.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001083/1.103, allocations: 180.5 kB / 0.6679 GB, free: 117.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.001056/1.104, allocations: 0.7195 MB / 0.6687 GB, free: 116.8 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006626/1.111, allocations: 3.179 MB / 0.6718 GB, free: 115.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.122, allocations: 8.585 MB / 0.6801 GB, free: 107.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.132, allocations: 5.281 MB / 0.6853 GB, free: 105.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003022/1.133, allocations: 54.66 kB / 0.6853 GB, free: 105.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.02728/1.16, allocations: 11.56 MB / 0.6966 GB, free: 101.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/1.16, allocations: 90.98 kB / 0.6967 GB, free: 101.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002839/1.16, allocations: 192.2 kB / 0.6969 GB, free: 101.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000296/1.161, allocations: 284.4 kB / 0.6972 GB, free: 101.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007012/1.168, allocations: 2.076 MB / 0.6992 GB, free: 101.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002478/1.168, allocations: 378.5 kB / 0.6996 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008617/1.177, allocations: 1.313 MB / 0.7008 GB, free: 100.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001691/1.178, allocations: 0.5543 MB / 0.7014 GB, free: 100.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01015/1.188, allocations: 3.7 MB / 0.705 GB, free: 98.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001328/1.19, allocations: 488 kB / 0.7055 GB, free: 98.25 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/1.192, allocations: 0.6508 MB / 0.7061 GB, free: 97.65 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/1.192, allocations: 54.94 kB / 0.7062 GB, free: 97.61 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-05/1.192, allocations: 0 / 0.7062 GB, free: 97.61 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.677e-05/1.192, allocations: 10.69 kB / 0.7062 GB, free: 97.61 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/1.222, allocations: 12.61 MB / 0.7185 GB, free: 86.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/1.222, allocations: 20.14 kB / 0.7185 GB, free: 86.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001942/1.224, allocations: 424.4 kB / 0.7189 GB, free: 86.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.452e-05/1.224, allocations: 24 kB / 0.7189 GB, free: 86.38 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003568/1.224, allocations: 67.39 kB / 0.719 GB, free: 86.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-05/1.225, allocations: 31.88 kB / 0.719 GB, free: 86.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/1.225, allocations: 19.73 kB / 0.719 GB, free: 86.28 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006339/1.231, allocations: 6.585 MB / 0.7255 GB, free: 79.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/1.233, allocations: 0.596 MB / 0.7261 GB, free: 79.02 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001344/1.234, allocations: 55.8 kB / 0.7261 GB, free: 78.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002493/1.237, allocations: 124.4 kB / 0.7262 GB, free: 78.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002963/1.237, allocations: 173.5 kB / 0.7264 GB, free: 78.76 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.237, allocations: 103.5 kB / 0.7265 GB, free: 78.66 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005375/1.242, allocations: 3.462 MB / 0.7299 GB, free: 75.85 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.242, allocations: 4 kB / 0.7299 GB, free: 75.85 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009107/1.252, allocations: 1.977 MB / 0.7318 GB, free: 73.87 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 simulation (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006135/1.252, allocations: 205.1 kB / 0.732 GB, free: 73.67 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01096/1.263, allocations: 7.238 MB / 0.7391 GB, free: 67.29 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/1.263, allocations: 8.25 kB / 0.7391 GB, free: 67.28 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002553/1.266, allocations: 1.997 MB / 0.741 GB, free: 65.51 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00326/1.269, allocations: 0.5578 MB / 0.7416 GB, free: 65.02 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/1.301, allocations: 18.46 MB / 0.7596 GB, free: 46.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008252/1.31, allocations: 5.576 MB / 0.765 GB, free: 41.22 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008556/1.318, allocations: 3.552 MB / 0.7685 GB, free: 37.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/1.319, allocations: 371.4 kB / 0.7689 GB, free: 37.3 MB / 494.1 MB Notification: Performance of SimCode: time 9.61e-07/1.319, allocations: 0 / 0.7689 GB, free: 37.3 MB / 494.1 MB Notification: Performance of Templates: time 0.08568/1.405, allocations: 42.84 MB / 0.8107 GB, free: 10.63 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) Environment - environmentSimulation: