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.001268/0.001268, allocations: 107.8 kB / 16.45 MB, free: 6.477 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.001264/0.001264, allocations: 192 kB / 17.39 MB, free: 5.688 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.456/1.456, allocations: 207.6 MB / 225.8 MB, free: 11.55 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.2126/0.2126, allocations: 44.24 MB / 319.9 MB, free: 12.86 MB / 270.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.002049/0.002049, allocations: 67.91 kB / 453.6 MB, free: 9.129 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1262, allocations: 61.01 MB / 0.5025 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01521/0.1414, allocations: 11.95 MB / 0.5142 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009173/0.1505, allocations: 4.202 MB / 0.5183 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.1529, allocations: 67.81 kB / 0.5184 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00592/0.1589, allocations: 2.873 MB / 0.5212 GB, free: 8.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005684/0.1645, allocations: 1.93 MB / 0.523 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001907/0.1664, allocations: 0.6902 MB / 0.5237 GB, free: 6.188 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006468/0.1729, allocations: 3.86 MB / 0.5275 GB, free: 2.316 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2704/0.4433, allocations: 3.231 MB / 0.5306 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002777/0.4461, allocations: 1.591 MB / 0.5322 GB, free: 8.309 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003967/0.45, allocations: 2.291 MB / 0.5344 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001366/0.4514, allocations: 354.4 kB / 0.5348 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002961/0.4544, allocations: 1.248 MB / 0.536 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002592/0.457, allocations: 2.062 MB / 0.538 GB, free: 7.82 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003248/0.4602, allocations: 2.324 MB / 0.5403 GB, free: 7.008 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0115/0.4717, allocations: 7.403 MB / 0.5475 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4717, allocations: 0 / 0.5475 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.096e-06/0.4717, allocations: 3.094 kB / 0.5475 GB, free: 5.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003115/0.472, allocations: 3.938 kB / 0.5475 GB, free: 5.723 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.01428/0.4863, allocations: 4.989 MB / 0.5524 GB, free: 2.934 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.4863, allocations: 16.17 kB / 0.5524 GB, free: 2.93 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002014/0.4884, allocations: 0.7568 MB / 0.5531 GB, free: 2.582 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007557/0.4959, allocations: 1.976 MB / 0.5551 GB, free: 2.199 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007223/0.5031, allocations: 2.758 MB / 0.5578 GB, free: 0.707 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002542/0.5034, allocations: 259.9 kB / 0.558 GB, free: 0.6211 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001553/0.5049, allocations: 424.2 kB / 0.5584 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02183/0.5268, allocations: 10.41 MB / 0.5686 GB, free: 10.3 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.5269, allocations: 51.91 kB / 0.5686 GB, free: 10.29 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.5275, allocations: 165.4 kB / 0.5688 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002911/0.5304, allocations: 1.94 MB / 0.5707 GB, free: 9.484 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01846/0.5489, allocations: 8.651 MB / 0.5791 GB, free: 3.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06081/0.6097, allocations: 40.31 MB / 0.6185 GB, free: 10.87 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009851/0.6195, allocations: 3.704 MB / 0.6221 GB, free: 7.039 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002758/0.6223, allocations: 1.679 MB / 0.6238 GB, free: 5.352 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01514/0.6374, allocations: 8.254 MB / 0.6318 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.466e-05/0.6375, allocations: 50.47 kB / 0.6319 GB, free: 12.68 MB / 494.1 MB Notification: Performance of pre-optimization done (n=153): time 5.541e-06/0.6375, allocations: 0 / 0.6319 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=160): time 0.03137/0.6689, allocations: 13.32 MB / 0.6449 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001531/0.6704, allocations: 1.717 MB / 0.6466 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006248/0.6766, allocations: 4 MB / 0.6505 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004041/0.677, allocations: 53.12 kB / 0.6505 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002569/0.6796, allocations: 3.342 MB / 0.6538 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009303/0.6805, allocations: 0.6729 MB / 0.6544 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.6823, allocations: 1.234 MB / 0.6556 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.6824, allocations: 305.1 kB / 0.6559 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.6859, allocations: 2.186 MB / 0.6581 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006801/0.6927, allocations: 5.933 MB / 0.6639 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01115/0.7038, allocations: 8.7 MB / 0.6724 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/0.7039, allocations: 43.94 kB / 0.6724 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02353/0.7275, allocations: 9.294 MB / 0.6815 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001992/0.7277, allocations: 71.22 kB / 0.6815 GB, free: 6.324 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01149/0.7392, allocations: 3.546 MB / 0.685 GB, free: 2.762 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009227/0.7484, allocations: 1.848 MB / 0.6868 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005069/0.7535, allocations: 1.4 MB / 0.6882 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009378/0.7628, allocations: 6.124 MB / 0.6942 GB, free: 9.098 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00543/0.7683, allocations: 419.4 kB / 0.6946 GB, free: 8.688 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00138/0.7696, allocations: 376 kB / 0.6949 GB, free: 8.32 MB / 0.545 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.005527/0.7752, allocations: 2.122 MB / 0.697 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/0.7762, allocations: 365.5 kB / 0.6973 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007676/0.7839, allocations: 3.158 MB / 0.7004 GB, free: 2.652 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005513/0.7894, allocations: 2.683 MB / 0.703 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-05/0.7894, allocations: 0 / 0.703 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-05/0.7895, allocations: 7.984 kB / 0.703 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/0.8144, allocations: 9.165 MB / 0.712 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.849e-05/0.8144, allocations: 0 / 0.712 GB, free: 6.719 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001454/0.8159, allocations: 271.6 kB / 0.7123 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.819, allocations: 1.037 MB / 0.7133 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003018/0.8193, allocations: 31.98 kB / 0.7133 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006669/0.826, allocations: 5.34 MB / 0.7185 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001276/0.8273, allocations: 1.566 MB / 0.72 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01/0.8373, allocations: 5.59 MB / 0.7255 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/0.8386, allocations: 414.6 kB / 0.7259 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009365/0.8396, allocations: 35.98 kB / 0.7259 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002044/0.8416, allocations: 143.8 kB / 0.7261 GB, free: 7.812 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003211/0.8419, allocations: 104.8 kB / 0.7262 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001534/0.8421, allocations: 43.98 kB / 0.7262 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00541/0.8475, allocations: 2.477 MB / 0.7286 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8475, allocations: 0 / 0.7286 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006762/0.8543, allocations: 1.096 MB / 0.7297 GB, free: 4.121 MB / 0.5762 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.01069/0.8649, allocations: 6.232 MB / 0.7358 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01153/0.8765, allocations: 5.629 MB / 0.7413 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/0.8765, allocations: 0 / 0.7413 GB, free: 8.172 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004611/0.8811, allocations: 2.172 MB / 0.7434 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003881/0.885, allocations: 438.9 kB / 0.7438 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3025/1.187, allocations: 48.2 MB / 0.7909 GB, free: 202.7 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002894/1.19, allocations: 3.297 MB / 0.7941 GB, free: 201.4 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.003655/1.194, allocations: 1.895 MB / 0.796 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00192/1.196, allocations: 1.893 MB / 0.7978 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of SimCode: time 1.212e-06/1.196, allocations: 0 / 0.7978 GB, free: 199.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1135/1.309, allocations: 71.14 MB / 0.8673 GB, free: 134.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.26/23.57, allocations: 4.062 kB / 0.8673 GB, free: 134.5 MB / 0.6075 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)