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.0008425/0.0008425, allocations: 102.6 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 184.1 kB / 16.92 MB, free: 6.914 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.604/1.604, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3651/0.3651, allocations: 43.58 MB / 315 MB, free: 9.055 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: Performance of FrontEnd - loaded program: time 0.0005101/0.0005101, allocations: 12 kB / 384.7 MB, free: 7.801 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1354, allocations: 58.87 MB / 443.5 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3206/0.4561, allocations: 49.04 MB / 492.6 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.4848, allocations: 10.58 MB / 0.4914 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0125/0.4974, allocations: 215.4 kB / 0.4916 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.4993, allocations: 435.9 kB / 0.492 GB, free: 12.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.5047, allocations: 1.774 MB / 0.4937 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001981/0.5067, allocations: 0.6279 MB / 0.4943 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008617/0.5153, allocations: 5.68 MB / 0.4999 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009157/0.5245, allocations: 5.355 MB / 0.5051 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003054/0.5276, allocations: 1.147 MB / 0.5062 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003904/0.5316, allocations: 1.953 MB / 0.5081 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007421/0.5323, allocations: 146.7 kB / 0.5083 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002896/0.5352, allocations: 1.071 MB / 0.5093 GB, free: 6.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002631/0.5379, allocations: 1.761 MB / 0.511 GB, free: 5.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004028/0.5419, allocations: 2.069 MB / 0.5131 GB, free: 4.148 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01157/0.5535, allocations: 6.851 MB / 0.5198 GB, free: 300 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5535, allocations: 3.938 kB / 0.5198 GB, free: 296 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5535, allocations: 0 / 0.5198 GB, free: 296 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000354/0.5539, allocations: 0 / 0.5198 GB, free: 296 kB / 382.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.0123/0.5662, allocations: 3.976 MB / 0.5236 GB, free: 13.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.5663, allocations: 10.88 kB / 0.5237 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002957/0.5693, allocations: 0.7558 MB / 0.5244 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008358/0.5776, allocations: 1.992 MB / 0.5263 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.5845, allocations: 2.709 MB / 0.529 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002453/0.5848, allocations: 258.4 kB / 0.5292 GB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/0.5862, allocations: 423.7 kB / 0.5296 GB, free: 7.703 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02103/0.6072, allocations: 10.43 MB / 0.5398 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001317/0.6074, allocations: 39.59 kB / 0.5399 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004661/0.6079, allocations: 175.8 kB / 0.54 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003036/0.6109, allocations: 1.939 MB / 0.5419 GB, free: 10.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.6299, allocations: 8.655 MB / 0.5504 GB, free: 1.742 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05458/0.6846, allocations: 40.44 MB / 0.5899 GB, free: 8.133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009801/0.6944, allocations: 3.837 MB / 0.5936 GB, free: 4.148 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002552/0.697, allocations: 1.759 MB / 0.5953 GB, free: 2.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01254/0.7095, allocations: 8.227 MB / 0.6034 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.7096, allocations: 47.56 kB / 0.6034 GB, free: 9.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=153): time 7.314e-06/0.7096, allocations: 4 kB / 0.6034 GB, free: 9.66 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.0313/0.741, allocations: 13.11 MB / 0.6162 GB, free: 12.37 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001372/0.7424, allocations: 1.616 MB / 0.6178 GB, free: 10.58 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005788/0.7482, allocations: 3.995 MB / 0.6217 GB, free: 6.605 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004918/0.7487, allocations: 45.7 kB / 0.6217 GB, free: 6.555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002675/0.7514, allocations: 3.213 MB / 0.6249 GB, free: 3.293 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001111/0.7525, allocations: 0.6481 MB / 0.6255 GB, free: 2.637 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007665/0.7533, allocations: 0.5111 MB / 0.626 GB, free: 2.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.7534, allocations: 309.2 kB / 0.6263 GB, free: 1.812 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2306/0.984, allocations: 2.181 MB / 0.6284 GB, free: 140.8 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008067/0.9922, allocations: 5.934 MB / 0.6342 GB, free: 136 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.003, allocations: 8.71 MB / 0.6427 GB, free: 130.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000204/1.003, allocations: 37.06 kB / 0.6428 GB, free: 130.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02363/1.027, allocations: 9.293 MB / 0.6518 GB, free: 127.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.027, allocations: 60.03 kB / 0.6519 GB, free: 127.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01042/1.037, allocations: 3.552 MB / 0.6554 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009919/1.047, allocations: 1.856 MB / 0.6572 GB, free: 126.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005056/1.052, allocations: 1.393 MB / 0.6585 GB, free: 125.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008268/1.061, allocations: 5.758 MB / 0.6642 GB, free: 122.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006309/1.067, allocations: 416.2 kB / 0.6646 GB, free: 122.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001568/1.069, allocations: 375.6 kB / 0.6649 GB, free: 122.2 MB / 494.1 MB 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.0057/1.074, allocations: 2.124 MB / 0.667 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009859/1.075, allocations: 337.3 kB / 0.6673 GB, free: 121.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007411/1.083, allocations: 3.172 MB / 0.6704 GB, free: 120.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005956/1.089, allocations: 2.692 MB / 0.673 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/1.089, allocations: 3.375 kB / 0.673 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/1.089, allocations: 11.83 kB / 0.6731 GB, free: 119.2 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/1.108, allocations: 9.179 MB / 0.682 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.108, allocations: 4.094 kB / 0.682 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/1.109, allocations: 265.9 kB / 0.6823 GB, free: 115.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002843/1.112, allocations: 1.035 MB / 0.6833 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/1.112, allocations: 39.19 kB / 0.6833 GB, free: 115.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00461/1.117, allocations: 5.031 MB / 0.6882 GB, free: 112.3 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007454/1.117, allocations: 1.471 MB / 0.6897 GB, free: 110.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00769/1.125, allocations: 5.576 MB / 0.6951 GB, free: 108.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/1.126, allocations: 414.1 kB / 0.6955 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008411/1.127, allocations: 33.41 kB / 0.6955 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/1.129, allocations: 148.1 kB / 0.6957 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003124/1.129, allocations: 101.2 kB / 0.6958 GB, free: 108.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.13, allocations: 46.86 kB / 0.6958 GB, free: 108.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005305/1.135, allocations: 2.479 MB / 0.6982 GB, free: 106.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.31e-07/1.135, allocations: 0 / 0.6982 GB, free: 106.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007228/1.142, allocations: 1.088 MB / 0.6993 GB, free: 105.4 MB / 494.1 MB 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.009088/1.151, allocations: 6.233 MB / 0.7054 GB, free: 99.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00982/1.161, allocations: 5.81 MB / 0.7111 GB, free: 93.46 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/1.161, allocations: 0 / 0.7111 GB, free: 93.46 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003928/1.165, allocations: 2.258 MB / 0.7133 GB, free: 91.14 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004402/1.17, allocations: 416.7 kB / 0.7137 GB, free: 90.74 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1055/1.275, allocations: 55.9 MB / 0.7683 GB, free: 26.97 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006359/1.281, allocations: 3.301 MB / 0.7715 GB, free: 23.64 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005775/1.287, allocations: 1.894 MB / 0.7733 GB, free: 21.74 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003635/1.291, allocations: 1.896 MB / 0.7752 GB, free: 19.85 MB / 494.1 MB Notification: Performance of SimCode: time 2.014e-06/1.291, allocations: 0 / 0.7752 GB, free: 19.85 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.344/1.635, allocations: 72.08 MB / 0.8456 GB, free: 153.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002512/1.635, allocations: 231.4 kB / 0.8458 GB, free: 152.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.473/5.108, allocations: 0 / 0.8458 GB, free: 152.8 MB / 0.5137 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)