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.0013/0.0013, allocations: 110.7 kB / 16.41 MB, free: 6.48 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.001364/0.001364, allocations: 185.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.507/1.507, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.2645/0.2645, allocations: 43.52 MB / 314.1 MB, free: 456 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.001475/0.001475, allocations: 65.47 kB / 441.4 MB, free: 6.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1109, allocations: 57.8 MB / 499.2 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.01247/0.1234, allocations: 11.9 MB / 0.4991 GB, free: 292 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.009746/0.1332, allocations: 4.191 MB / 0.5032 GB, free: 12.08 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002044/0.1353, allocations: 67.81 kB / 0.5032 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005362/0.1408, allocations: 2.842 MB / 0.506 GB, free: 9.164 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004804/0.1456, allocations: 1.875 MB / 0.5079 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1473, allocations: 0.6941 MB / 0.5085 GB, free: 6.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.005485/0.1528, allocations: 3.86 MB / 0.5123 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006095/0.159, allocations: 3.879 MB / 0.5161 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.1623, allocations: 1.585 MB / 0.5176 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003688/0.166, allocations: 2.134 MB / 0.5197 GB, free: 11.04 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.1672, allocations: 352 kB / 0.5201 GB, free: 10.7 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003044/0.1702, allocations: 1.213 MB / 0.5212 GB, free: 9.48 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002736/0.173, allocations: 2.011 MB / 0.5232 GB, free: 7.465 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00417/0.1772, allocations: 2.326 MB / 0.5255 GB, free: 5.125 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.317/0.4942, allocations: 7.362 MB / 0.5327 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.4943, allocations: 0 / 0.5327 GB, free: 14.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.876e-06/0.4943, allocations: 3 kB / 0.5327 GB, free: 14.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002488/0.4945, allocations: 0.7188 kB / 0.5327 GB, free: 14.55 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.01284/0.5074, allocations: 4.867 MB / 0.5374 GB, free: 12.66 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.5075, allocations: 14.64 kB / 0.5374 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001353/0.5088, allocations: 0.7567 MB / 0.5382 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007732/0.5166, allocations: 1.946 MB / 0.5401 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007623/0.5242, allocations: 2.752 MB / 0.5428 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003983/0.5247, allocations: 252.3 kB / 0.543 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002198/0.5269, allocations: 427.6 kB / 0.5434 GB, free: 11.7 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02655/0.5535, allocations: 10.41 MB / 0.5536 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002287/0.5537, allocations: 44.88 kB / 0.5536 GB, free: 8.938 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/0.5548, allocations: 165.1 kB / 0.5538 GB, free: 8.859 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004458/0.5592, allocations: 1.941 MB / 0.5557 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02091/0.5802, allocations: 8.651 MB / 0.5641 GB, free: 5.98 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06068/0.6409, allocations: 40.24 MB / 0.6034 GB, free: 15.95 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/0.6512, allocations: 3.828 MB / 0.6072 GB, free: 12 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.6539, allocations: 1.753 MB / 0.6089 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/0.6689, allocations: 8.233 MB / 0.6169 GB, free: 1.641 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.627e-05/0.669, allocations: 57.45 kB / 0.617 GB, free: 1.582 MB / 462.1 MB Notification: Performance of pre-optimization done (n=153): time 5.981e-06/0.669, allocations: 0 / 0.617 GB, free: 1.582 MB / 462.1 MB Notification: Performance of matching and sorting (n=160): time 0.04675/0.7158, allocations: 13.1 MB / 0.6298 GB, free: 4.34 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001869/0.7177, allocations: 1.705 MB / 0.6314 GB, free: 2.465 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009322/0.727, allocations: 3.986 MB / 0.6353 GB, free: 14.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005817/0.7277, allocations: 49.7 kB / 0.6354 GB, free: 14.45 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003058/0.7307, allocations: 3.217 MB / 0.6385 GB, free: 11.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/0.7319, allocations: 0.6526 MB / 0.6391 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002213/0.7341, allocations: 1.222 MB / 0.6403 GB, free: 9.367 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.161e-05/0.7342, allocations: 305.1 kB / 0.6406 GB, free: 9.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003219/0.7375, allocations: 2.182 MB / 0.6428 GB, free: 6.879 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005756/0.7432, allocations: 5.939 MB / 0.6486 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009845/0.7531, allocations: 8.704 MB / 0.6571 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001234/0.7533, allocations: 39.94 kB / 0.6571 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02313/0.7764, allocations: 9.275 MB / 0.6662 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001911/0.7766, allocations: 67.98 kB / 0.6662 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01136/0.788, allocations: 3.56 MB / 0.6697 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009701/0.7977, allocations: 1.852 MB / 0.6715 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004779/0.8025, allocations: 1.396 MB / 0.6729 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009043/0.8116, allocations: 6.116 MB / 0.6788 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/0.8168, allocations: 427.3 kB / 0.6792 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001109/0.8179, allocations: 372 kB / 0.6796 GB, free: 13.98 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.00441/0.8224, allocations: 2.117 MB / 0.6817 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000861/0.8232, allocations: 346.2 kB / 0.682 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007337/0.8306, allocations: 3.165 MB / 0.6851 GB, free: 8.328 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0055/0.8361, allocations: 2.695 MB / 0.6877 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.8362, allocations: 4 kB / 0.6877 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-05/0.8362, allocations: 7.969 kB / 0.6877 GB, free: 5.605 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02103/0.8573, allocations: 9.172 MB / 0.6967 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.702e-05/0.8573, allocations: 4 kB / 0.6967 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001439/0.8588, allocations: 267.6 kB / 0.697 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003342/0.8621, allocations: 1.037 MB / 0.698 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000301/0.8625, allocations: 38.59 kB / 0.698 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/0.8689, allocations: 5.336 MB / 0.7032 GB, free: 5.414 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001265/0.8702, allocations: 1.561 MB / 0.7047 GB, free: 3.699 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009366/0.8796, allocations: 5.582 MB / 0.7102 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001198/0.8808, allocations: 400.8 kB / 0.7106 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006686/0.8815, allocations: 27.98 kB / 0.7106 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00188/0.8834, allocations: 147.8 kB / 0.7107 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.8837, allocations: 96.78 kB / 0.7108 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.8838, allocations: 46.64 kB / 0.7109 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004704/0.8885, allocations: 2.489 MB / 0.7133 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8885, allocations: 0 / 0.7133 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005164/0.8937, allocations: 1.086 MB / 0.7144 GB, free: 9.793 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.009255/0.903, allocations: 6.228 MB / 0.7204 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01058/0.9136, allocations: 5.852 MB / 0.7262 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.9136, allocations: 0 / 0.7262 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004276/0.9179, allocations: 2.26 MB / 0.7284 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003594/0.9215, allocations: 432 kB / 0.7288 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3447/1.266, allocations: 48.03 MB / 0.7757 GB, free: 197.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003774/1.27, allocations: 3.29 MB / 0.7789 GB, free: 196 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004349/1.274, allocations: 1.899 MB / 0.7807 GB, free: 195.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001982/1.276, allocations: 1.896 MB / 0.7826 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of SimCode: time 8.92e-07/1.276, allocations: 4 kB / 0.7826 GB, free: 194.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.116/1.392, allocations: 71.66 MB / 0.8526 GB, free: 133 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/23.18, allocations: 15.98 kB / 0.8526 GB, free: 133 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)