Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000778/0.0007776, allocations: 97.03 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008758/0.0008758, allocations: 206.5 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 246.8 MB, free: 11.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2206/0.2206, allocations: 46.18 MB / 345.2 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002699/0.0002699, allocations: 11.98 kB / 419.6 MB, free: 19.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.128/0.1282, allocations: 63.56 MB / 483.2 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3055/0.4338, allocations: 44.58 MB / 0.5154 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02267/0.4565, allocations: 9.769 MB / 0.5249 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01068/0.4672, allocations: 195.1 kB / 0.5251 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.4692, allocations: 414.7 kB / 0.5255 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006283/0.4755, allocations: 1.656 MB / 0.5271 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00185/0.4774, allocations: 0.6355 MB / 0.5278 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007614/0.485, allocations: 5.388 MB / 0.533 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006892/0.4919, allocations: 5.263 MB / 0.5382 GB, free: 3.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.4939, allocations: 1.078 MB / 0.5392 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002524/0.4965, allocations: 1.809 MB / 0.541 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000545/0.497, allocations: 133.3 kB / 0.5411 GB, free: 2.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002168/0.4992, allocations: 1.045 MB / 0.5421 GB, free: 1.824 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001401/0.5006, allocations: 1.644 MB / 0.5437 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001908/0.5026, allocations: 1.908 MB / 0.5456 GB, free: 15.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007176/0.5097, allocations: 6.355 MB / 0.5518 GB, free: 10.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.5098, allocations: 3.938 kB / 0.5518 GB, free: 10.26 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.5098, allocations: 0 / 0.5518 GB, free: 10.26 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002147/0.51, allocations: 0 / 0.5518 GB, free: 10.26 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1475 * Number of variables: 1475 Notification: Performance of Generate backend data structure: time 0.008186/0.5182, allocations: 3.732 MB / 0.5554 GB, free: 6.488 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/0.5183, allocations: 8.875 kB / 0.5555 GB, free: 6.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001588/0.5199, allocations: 0.71 MB / 0.5561 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007085/0.527, allocations: 1.991 MB / 0.5581 GB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004647/0.5317, allocations: 2.344 MB / 0.5604 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.5319, allocations: 246.3 kB / 0.5606 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009791/0.5329, allocations: 407.1 kB / 0.561 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.5492, allocations: 9.762 MB / 0.5705 GB, free: 6.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.5493, allocations: 43.59 kB / 0.5706 GB, free: 6.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004189/0.5498, allocations: 156.1 kB / 0.5707 GB, free: 6.355 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002419/0.5522, allocations: 1.762 MB / 0.5724 GB, free: 4.602 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.5671, allocations: 8.097 MB / 0.5804 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04779/0.6149, allocations: 38.36 MB / 0.6178 GB, free: 5.152 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009654/0.6246, allocations: 3.723 MB / 0.6215 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.6269, allocations: 1.623 MB / 0.623 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01124/0.6382, allocations: 7.891 MB / 0.6307 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.6382, allocations: 43.56 kB / 0.6308 GB, free: 7.309 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 3.848e-06/0.6383, allocations: 7.938 kB / 0.6308 GB, free: 7.301 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03291/0.6712, allocations: 12.37 MB / 0.6429 GB, free: 10.76 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001338/0.6725, allocations: 1.625 MB / 0.6445 GB, free: 8.961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006889/0.6795, allocations: 3.804 MB / 0.6482 GB, free: 5.168 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003512/0.6798, allocations: 43.5 kB / 0.6482 GB, free: 5.121 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002381/0.6822, allocations: 3.003 MB / 0.6511 GB, free: 2.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008266/0.6831, allocations: 0.6059 MB / 0.6517 GB, free: 1.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009709/0.6841, allocations: 494.6 kB / 0.6522 GB, free: 1.027 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.6842, allocations: 313.2 kB / 0.6525 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.6876, allocations: 2.035 MB / 0.6545 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005999/0.6937, allocations: 5.65 MB / 0.66 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009884/0.7036, allocations: 8.267 MB / 0.6681 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001201/0.7037, allocations: 36 kB / 0.6681 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02073/0.7244, allocations: 8.913 MB / 0.6768 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/0.7246, allocations: 60 kB / 0.6769 GB, free: 4.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01043/0.7351, allocations: 3.354 MB / 0.6802 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009487/0.7446, allocations: 1.934 MB / 0.6821 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004252/0.7489, allocations: 1.322 MB / 0.6833 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008203/0.7571, allocations: 5.783 MB / 0.689 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004629/0.7618, allocations: 403.4 kB / 0.6894 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009975/0.7628, allocations: 358.2 kB / 0.6897 GB, free: 6.684 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 585 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,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 (709): * Single equations (assignments): 700 * 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.003829/0.7666, allocations: 2.004 MB / 0.6917 GB, free: 4.668 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00068/0.7673, allocations: 319.8 kB / 0.692 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00105/0.7684, allocations: 436.2 kB / 0.6924 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004944/0.7733, allocations: 2.515 MB / 0.6948 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.514e-05/0.7734, allocations: 0 / 0.6948 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.025e-05/0.7734, allocations: 11.97 kB / 0.6949 GB, free: 1.375 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01534/0.7887, allocations: 8.45 MB / 0.7031 GB, free: 8.848 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.7888, allocations: 12.03 kB / 0.7031 GB, free: 8.836 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.79, allocations: 251.6 kB / 0.7034 GB, free: 8.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/0.793, allocations: 1.041 MB / 0.7044 GB, free: 7.535 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001681/0.7932, allocations: 31.98 kB / 0.7044 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005491/0.7987, allocations: 5.026 MB / 0.7093 GB, free: 2.215 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000939/0.7996, allocations: 1.47 MB / 0.7108 GB, free: 0.6055 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2205/1.02, allocations: 5.224 MB / 0.7159 GB, free: 191.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/1.021, allocations: 387.5 kB / 0.7162 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003309/1.021, allocations: 30.7 kB / 0.7163 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.023, allocations: 143.6 kB / 0.7164 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003009/1.023, allocations: 87.8 kB / 0.7165 GB, free: 191.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.023, allocations: 48.23 kB / 0.7165 GB, free: 191.6 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004009/1.027, allocations: 2.357 MB / 0.7188 GB, free: 190.9 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 5.938 kB / 0.7188 GB, free: 190.9 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004732/1.032, allocations: 1.007 MB / 0.7198 GB, free: 190.8 MB / 0.545 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 (114): * Single equations (assignments): 107 * 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.009528/1.042, allocations: 5.863 MB / 0.7255 GB, free: 188.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009704/1.051, allocations: 5.495 MB / 0.7309 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.534e-06/1.051, allocations: 0 / 0.7309 GB, free: 186.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003749/1.055, allocations: 2.155 MB / 0.733 GB, free: 185.6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/1.059, allocations: 399.4 kB / 0.7334 GB, free: 185.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07625/1.135, allocations: 52.69 MB / 0.7848 GB, free: 135.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/1.137, allocations: 3.125 MB / 0.7879 GB, free: 132 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00379/1.141, allocations: 1.794 MB / 0.7897 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/1.143, allocations: 1.757 MB / 0.7914 GB, free: 128.4 MB / 0.545 GB Notification: Performance of SimCode: time 8.22e-07/1.143, allocations: 7.938 kB / 0.7914 GB, free: 128.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0901/1.233, allocations: 68.5 MB / 0.8583 GB, free: 60.21 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/1.233, allocations: 227 kB / 0.8585 GB, free: 59.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.713/4.946, allocations: 0 / 0.8585 GB, free: 59.96 MB / 0.545 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1)