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.001605/0.001605, allocations: 106.9 kB / 17.33 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001924/0.001924, allocations: 205.8 kB / 18.27 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.542/1.542, allocations: 227.4 MB / 246.4 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2317/0.2317, allocations: 46.1 MB / 343.8 MB, free: 11.78 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 72.27 kB / 417.1 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1425, allocations: 62.46 MB / 479.6 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Frames.AngularVelocity): time 0.3299/0.4724, allocations: 45.8 MB / 0.5131 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02416/0.4966, allocations: 9.733 MB / 0.5226 GB, free: 8.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01265/0.5093, allocations: 197.2 kB / 0.5228 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006832/0.5162, allocations: 2.702 MB / 0.5254 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007214/0.5235, allocations: 1.633 MB / 0.527 GB, free: 7.008 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.5263, allocations: 0.6456 MB / 0.5276 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007314/0.5336, allocations: 3.709 MB / 0.5313 GB, free: 5.621 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005983/0.5397, allocations: 4.01 MB / 0.5352 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003294/0.543, allocations: 1.522 MB / 0.5367 GB, free: 3.117 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003019/0.546, allocations: 2.199 MB / 0.5388 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007023/0.5467, allocations: 332.3 kB / 0.5391 GB, free: 1.945 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.5494, allocations: 1.196 MB / 0.5403 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001813/0.5512, allocations: 1.877 MB / 0.5421 GB, free: 440 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002526/0.5538, allocations: 2.177 MB / 0.5443 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009777/0.5635, allocations: 6.652 MB / 0.5508 GB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.122e-05/0.5636, allocations: 0 / 0.5508 GB, free: 9.074 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.681e-06/0.5636, allocations: 0 / 0.5508 GB, free: 9.074 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003647/0.564, allocations: 3.938 kB / 0.5508 GB, free: 9.07 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.01291/0.5769, allocations: 4.569 MB / 0.5552 GB, free: 4.527 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.577, allocations: 12.02 kB / 0.5552 GB, free: 4.516 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00177/0.5788, allocations: 0.7055 MB / 0.5559 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007229/0.586, allocations: 1.947 MB / 0.5578 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005869/0.5919, allocations: 2.366 MB / 0.5601 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002288/0.5922, allocations: 238.6 kB / 0.5604 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001366/0.5935, allocations: 403.7 kB / 0.5607 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02036/0.6139, allocations: 9.746 MB / 0.5703 GB, free: 4.609 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00021/0.6142, allocations: 39.69 kB / 0.5703 GB, free: 4.57 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001049/0.6152, allocations: 153.6 kB / 0.5705 GB, free: 4.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003031/0.6183, allocations: 1.764 MB / 0.5722 GB, free: 2.695 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01896/0.6372, allocations: 8.084 MB / 0.5801 GB, free: 10.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05417/0.6915, allocations: 38.36 MB / 0.6175 GB, free: 3.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.7022, allocations: 3.708 MB / 0.6211 GB, free: 15.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002504/0.7048, allocations: 1.632 MB / 0.6227 GB, free: 13.78 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01351/0.7183, allocations: 7.879 MB / 0.6304 GB, free: 5.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.7184, allocations: 55.48 kB / 0.6305 GB, free: 5.438 MB / 478.1 MB Notification: Performance of pre-optimization done (n=141): time 6.753e-06/0.7184, allocations: 0 / 0.6305 GB, free: 5.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=148): time 0.03378/0.7522, allocations: 12.34 MB / 0.6425 GB, free: 8.934 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001569/0.7538, allocations: 1.7 MB / 0.6442 GB, free: 7.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007296/0.7611, allocations: 3.804 MB / 0.6479 GB, free: 3.258 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004083/0.7616, allocations: 41.7 kB / 0.648 GB, free: 3.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00251/0.7641, allocations: 3.012 MB / 0.6509 GB, free: 208 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009619/0.7651, allocations: 0.599 MB / 0.6515 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002812/0.7679, allocations: 1.166 MB / 0.6526 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.768, allocations: 305.3 kB / 0.6529 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003565/0.7716, allocations: 2.033 MB / 0.6549 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007385/0.779, allocations: 5.65 MB / 0.6604 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.7915, allocations: 8.26 MB / 0.6685 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003194/0.7919, allocations: 40 kB / 0.6685 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of matching and sorting (n=747) (initialization): time 0.02526/0.8172, allocations: 8.896 MB / 0.6772 GB, free: 1.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/0.8175, allocations: 60 kB / 0.6773 GB, free: 1.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01108/0.8286, allocations: 3.348 MB / 0.6805 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009589/0.8383, allocations: 1.934 MB / 0.6824 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004619/0.8429, allocations: 1.318 MB / 0.6837 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009826/0.8528, allocations: 6.143 MB / 0.6897 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005435/0.8582, allocations: 399.4 kB / 0.6901 GB, free: 4.102 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00139/0.8597, allocations: 352 kB / 0.6904 GB, free: 3.758 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.00607/0.8658, allocations: 2.004 MB / 0.6924 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001092/0.8669, allocations: 327.8 kB / 0.6927 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.8685, allocations: 440.2 kB / 0.6931 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005791/0.8743, allocations: 2.498 MB / 0.6956 GB, free: 14.48 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.223e-05/0.8743, allocations: 4 kB / 0.6956 GB, free: 14.47 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.289e-05/0.8744, allocations: 7.922 kB / 0.6956 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/0.8962, allocations: 8.455 MB / 0.7038 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.492e-05/0.8963, allocations: 0 / 0.7038 GB, free: 5.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001295/0.8976, allocations: 247.6 kB / 0.7041 GB, free: 5.691 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003186/0.9008, allocations: 1.041 MB / 0.7051 GB, free: 4.637 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000238/0.9011, allocations: 43.11 kB / 0.7051 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2496/1.151, allocations: 5.334 MB / 0.7103 GB, free: 191.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009175/1.152, allocations: 1.57 MB / 0.7119 GB, free: 190.4 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009332/1.161, allocations: 5.21 MB / 0.7169 GB, free: 189.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/1.162, allocations: 388 kB / 0.7173 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003828/1.162, allocations: 31.62 kB / 0.7173 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.164, allocations: 135.3 kB / 0.7175 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003285/1.164, allocations: 94.36 kB / 0.7176 GB, free: 189.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001333/1.164, allocations: 41.75 kB / 0.7176 GB, free: 189.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004463/1.169, allocations: 2.357 MB / 0.7199 GB, free: 188.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.8e-07/1.169, allocations: 0 / 0.7199 GB, free: 188.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006635/1.176, allocations: 1.007 MB / 0.7209 GB, free: 188.4 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.01029/1.186, allocations: 5.857 MB / 0.7266 GB, free: 186 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.197, allocations: 6.08 MB / 0.7325 GB, free: 184 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.203e-06/1.197, allocations: 11.73 kB / 0.7326 GB, free: 184 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003642/1.201, allocations: 2.147 MB / 0.7347 GB, free: 183 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/1.203, allocations: 431.6 kB / 0.7351 GB, free: 182.9 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07895/1.282, allocations: 52.51 MB / 0.7863 GB, free: 132.1 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002672/1.285, allocations: 3.117 MB / 0.7894 GB, free: 129 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003789/1.289, allocations: 1.796 MB / 0.7911 GB, free: 127.2 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001865/1.291, allocations: 1.765 MB / 0.7929 GB, free: 125.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.414e-06/1.291, allocations: 0 / 0.7929 GB, free: 125.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09933/1.39, allocations: 70.66 MB / 0.8619 GB, free: 55.1 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/1.39, allocations: 227.8 kB / 0.8621 GB, free: 54.85 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/5.339, allocations: 0 / 0.8621 GB, free: 54.85 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)