Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.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.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+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: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 105.8 kB / 16.4 MB, free: 6.508 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.001145/0.001145, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2046/0.2046, allocations: 43.52 MB / 314.1 MB, free: 440 kB / 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: Performance of FrontEnd - loaded program: time 0.00143/0.00143, allocations: 73.62 kB / 441.4 MB, free: 6.062 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1298, allocations: 57.79 MB / 499.2 MB, free: 12.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01406/0.1439, allocations: 11.91 MB / 0.4991 GB, free: 244 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009444/0.1534, allocations: 4.183 MB / 0.5032 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002379/0.1558, allocations: 67.81 kB / 0.5032 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005706/0.1615, allocations: 2.842 MB / 0.506 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005667/0.1673, allocations: 1.875 MB / 0.5079 GB, free: 7.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001799/0.1691, allocations: 0.6902 MB / 0.5085 GB, free: 6.551 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007121/0.1763, allocations: 3.86 MB / 0.5123 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006696/0.183, allocations: 3.883 MB / 0.5161 GB, free: 14.73 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.1866, allocations: 1.589 MB / 0.5176 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003885/0.1905, allocations: 2.122 MB / 0.5197 GB, free: 11.01 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001452/0.192, allocations: 356 kB / 0.5201 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.1954, allocations: 1.217 MB / 0.5212 GB, free: 9.441 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003146/0.1986, allocations: 2.014 MB / 0.5232 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004177/0.2028, allocations: 2.319 MB / 0.5255 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2964/0.4992, allocations: 7.364 MB / 0.5327 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.102e-05/0.4993, allocations: 0 / 0.5327 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.017e-06/0.4993, allocations: 0.6562 kB / 0.5327 GB, free: 14.59 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004562/0.4998, allocations: 0 / 0.5327 GB, free: 14.59 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01709/0.5169, allocations: 4.869 MB / 0.5374 GB, free: 12.7 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.627e-05/0.517, allocations: 12.7 kB / 0.5374 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001774/0.5188, allocations: 0.7636 MB / 0.5382 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007885/0.5267, allocations: 1.94 MB / 0.5401 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006766/0.5335, allocations: 2.75 MB / 0.5428 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.5338, allocations: 254 kB / 0.543 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001617/0.5354, allocations: 432.8 kB / 0.5434 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02192/0.5573, allocations: 10.41 MB / 0.5536 GB, free: 8.914 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001216/0.5575, allocations: 47.55 kB / 0.5536 GB, free: 8.906 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004847/0.558, allocations: 164.2 kB / 0.5538 GB, free: 8.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/0.5609, allocations: 1.937 MB / 0.5557 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01567/0.5766, allocations: 8.659 MB / 0.5641 GB, free: 5.969 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05188/0.6285, allocations: 40.24 MB / 0.6034 GB, free: 15.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00967/0.6382, allocations: 3.825 MB / 0.6072 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002567/0.6408, allocations: 1.759 MB / 0.6089 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/0.653, allocations: 8.237 MB / 0.6169 GB, free: 1.547 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.6531, allocations: 46.47 kB / 0.617 GB, free: 1.496 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 4.628e-06/0.6531, allocations: 0 / 0.617 GB, free: 1.496 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.03145/0.6845, allocations: 13.1 MB / 0.6298 GB, free: 4.27 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001641/0.6862, allocations: 1.718 MB / 0.6314 GB, free: 2.379 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006404/0.6926, allocations: 3.988 MB / 0.6353 GB, free: 14.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000519/0.6932, allocations: 45.7 kB / 0.6354 GB, free: 14.36 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002455/0.6957, allocations: 3.219 MB / 0.6385 GB, free: 11.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001124/0.6968, allocations: 0.6488 MB / 0.6391 GB, free: 10.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001911/0.6987, allocations: 1.218 MB / 0.6403 GB, free: 9.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001331/0.6989, allocations: 305.1 kB / 0.6406 GB, free: 8.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003579/0.7024, allocations: 2.186 MB / 0.6428 GB, free: 6.797 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006516/0.709, allocations: 5.931 MB / 0.6486 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.7199, allocations: 8.709 MB / 0.6571 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.72, allocations: 45.19 kB / 0.6571 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02316/0.7432, allocations: 9.284 MB / 0.6662 GB, free: 12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.7434, allocations: 60 kB / 0.6662 GB, free: 11.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01053/0.7539, allocations: 3.557 MB / 0.6697 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00893/0.7629, allocations: 1.852 MB / 0.6715 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00492/0.7679, allocations: 1.4 MB / 0.6729 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008645/0.7765, allocations: 6.115 MB / 0.6788 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005971/0.7826, allocations: 427.3 kB / 0.6793 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009873/0.7836, allocations: 371 kB / 0.6796 GB, free: 13.92 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * Number of states: 0 () * Number of discrete variables: 39 (FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004008/0.7876, allocations: 2.119 MB / 0.6817 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007717/0.7884, allocations: 343.5 kB / 0.682 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006181/0.7946, allocations: 3.172 MB / 0.6851 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004868/0.7994, allocations: 2.691 MB / 0.6877 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.529e-05/0.7995, allocations: 4 kB / 0.6877 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.115e-05/0.7995, allocations: 7.969 kB / 0.6877 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01757/0.8171, allocations: 9.168 MB / 0.6967 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.323e-05/0.8172, allocations: 4 kB / 0.6967 GB, free: 12.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/0.8186, allocations: 267.6 kB / 0.697 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003038/0.8217, allocations: 1.033 MB / 0.698 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002293/0.8219, allocations: 35.98 kB / 0.698 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006503/0.8284, allocations: 5.342 MB / 0.7032 GB, free: 5.352 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001476/0.8299, allocations: 1.557 MB / 0.7047 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009791/0.8397, allocations: 5.58 MB / 0.7102 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/0.8413, allocations: 400.6 kB / 0.7106 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000594/0.8419, allocations: 32 kB / 0.7106 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001611/0.8435, allocations: 143.8 kB / 0.7107 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003039/0.8438, allocations: 108.7 kB / 0.7108 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.8439, allocations: 43.98 kB / 0.7109 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004402/0.8483, allocations: 2.481 MB / 0.7133 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8484, allocations: 0 / 0.7133 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005713/0.8541, allocations: 1.084 MB / 0.7144 GB, free: 9.738 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/0.8642, allocations: 6.232 MB / 0.7204 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01054/0.8748, allocations: 5.85 MB / 0.7262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/0.8748, allocations: 0 / 0.7262 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004124/0.8789, allocations: 2.255 MB / 0.7284 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002956/0.8819, allocations: 444.1 kB / 0.7288 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3507/1.233, allocations: 48.02 MB / 0.7757 GB, free: 197.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004983/1.238, allocations: 3.298 MB / 0.7789 GB, free: 196.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004824/1.242, allocations: 1.9 MB / 0.7808 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002854/1.245, allocations: 1.896 MB / 0.7826 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.763e-06/1.245, allocations: 0 / 0.7826 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.382, allocations: 71.68 MB / 0.8526 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/22.18, allocations: 0 / 0.8526 GB, free: 132.9 MB / 0.5919 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)