Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 221.3 MB / 236 MB, free: 2.973 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009346/0.0009346, allocations: 99.78 kB / 287 MB, free: 248 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.16 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.809e-05/3.817e-05, allocations: 4.156 kB / 451.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 61.92 MB / 0.5018 GB, free: 11.36 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.5836, allocations: 108.7 MB / 0.6079 GB, free: 12.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.584, allocations: 79.95 kB / 0.608 GB, free: 12.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2196/0.8035, allocations: 81.45 MB / 0.6875 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/0.8036, allocations: 0 / 0.6875 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002527/0.8039, allocations: 91.92 kB / 0.6876 GB, free: 10.41 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.01523/0.8191, allocations: 4.185 MB / 0.6917 GB, free: 6.164 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/0.8192, allocations: 8.031 kB / 0.6917 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002614/0.8218, allocations: 0.7817 MB / 0.6925 GB, free: 5.363 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/0.8324, allocations: 2.241 MB / 0.6947 GB, free: 3.113 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01259/0.845, allocations: 4.565 MB / 0.6991 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000356/0.8454, allocations: 324.6 kB / 0.6994 GB, free: 14.16 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001705/0.8471, allocations: 435.8 kB / 0.6999 GB, free: 13.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.8673, allocations: 10.32 MB / 0.7099 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001672/0.8675, allocations: 59.41 kB / 0.71 GB, free: 2.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006978/0.8682, allocations: 207.9 kB / 0.7102 GB, free: 2.105 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001423/0.8697, allocations: 0.9789 MB / 0.7112 GB, free: 1.117 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3092/1.179, allocations: 8.168 MB / 0.7191 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.054/1.233, allocations: 48.38 MB / 0.7664 GB, free: 93.69 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008504/1.242, allocations: 3.645 MB / 0.7699 GB, free: 92.25 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/1.243, allocations: 1.609 MB / 0.7715 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009833/1.253, allocations: 7.896 MB / 0.7792 GB, free: 87.02 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/1.253, allocations: 53.22 kB / 0.7793 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 5.07e-06/1.253, allocations: 3.406 kB / 0.7793 GB, free: 86.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148): time 0.02436/1.278, allocations: 10.31 MB / 0.7893 GB, free: 83.02 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001416/1.279, allocations: 1.616 MB / 0.7909 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005776/1.285, allocations: 3.391 MB / 0.7942 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000453/1.286, allocations: 46.2 kB / 0.7943 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001927/1.287, allocations: 3.056 MB / 0.7973 GB, free: 77.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008695/1.288, allocations: 0.6001 MB / 0.7978 GB, free: 77.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002896/1.289, allocations: 117.1 kB / 0.798 GB, free: 77.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002817/1.289, allocations: 0.544 MB / 0.7985 GB, free: 76.88 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002551/1.292, allocations: 1.963 MB / 0.8004 GB, free: 76.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003876/1.295, allocations: 5.581 MB / 0.8059 GB, free: 70.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004156/1.3, allocations: 3.283 MB / 0.8091 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.961e-05/1.3, allocations: 39.16 kB / 0.8091 GB, free: 69.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02079/1.32, allocations: 8.758 MB / 0.8176 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001209/1.321, allocations: 62.34 kB / 0.8177 GB, free: 66.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009927/1.331, allocations: 3.267 MB / 0.8209 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009347/1.34, allocations: 1.929 MB / 0.8228 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00434/1.344, allocations: 1.325 MB / 0.8241 GB, free: 64.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006774/1.351, allocations: 5.752 MB / 0.8297 GB, free: 59.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.357, allocations: 392.3 kB / 0.8301 GB, free: 58.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001047/1.358, allocations: 362.7 kB / 0.8304 GB, free: 58.52 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 705 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008597/1.359, allocations: 0.5533 MB / 0.831 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/1.359, allocations: 331.4 kB / 0.8313 GB, free: 57.63 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/1.364, allocations: 2.9 MB / 0.8341 GB, free: 55.33 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00399/1.368, allocations: 2.453 MB / 0.8365 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/1.369, allocations: 4 kB / 0.8365 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/1.369, allocations: 6.891 kB / 0.8365 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01424/1.383, allocations: 8.502 MB / 0.8448 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/1.383, allocations: 0 / 0.8448 GB, free: 46.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/1.384, allocations: 247.9 kB / 0.845 GB, free: 46.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002743/1.387, allocations: 1.029 MB / 0.8461 GB, free: 45.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/1.387, allocations: 36.3 kB / 0.8461 GB, free: 45.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00458/1.392, allocations: 5.007 MB / 0.851 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007708/1.392, allocations: 1.482 MB / 0.8524 GB, free: 39.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007497/1.4, allocations: 5.271 MB / 0.8576 GB, free: 34.86 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/1.401, allocations: 392.3 kB / 0.8579 GB, free: 34.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003398/1.401, allocations: 35.94 kB / 0.858 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/1.403, allocations: 138.5 kB / 0.8581 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002262/1.403, allocations: 84.92 kB / 0.8582 GB, free: 34.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/1.403, allocations: 40.41 kB / 0.8582 GB, free: 34.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003321/1.406, allocations: 2.338 MB / 0.8605 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.01e-07/1.406, allocations: 0 / 0.8605 GB, free: 32.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005054/1.412, allocations: 1.043 MB / 0.8615 GB, free: 31.2 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007939/1.419, allocations: 6.264 MB / 0.8676 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008979/1.429, allocations: 5.392 MB / 0.8729 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/1.429, allocations: 0 / 0.8729 GB, free: 20.01 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00353/1.432, allocations: 2.127 MB / 0.875 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/1.434, allocations: 393.9 kB / 0.8754 GB, free: 17.43 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01849/1.453, allocations: 9.011 MB / 0.8842 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002739/1.456, allocations: 3.243 MB / 0.8873 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004279/1.46, allocations: 1.83 MB / 0.8891 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/1.462, allocations: 1.8 MB / 0.8909 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of SimCode: time 9.32e-07/1.462, allocations: 4 kB / 0.8909 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4834/1.946, allocations: 75.17 MB / 0.9643 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/1.946, allocations: 185.3 kB / 0.9645 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.362/6.308, allocations: 0 / 0.9645 GB, free: 121.2 MB / 0.5261 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat