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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex trunk/package.mo): time 0.001179/0.001179, allocations: 198.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.2 MB / 245 MB, free: 7.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009068/0.0009066, allocations: 102 kB / 297.3 MB, free: 6.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4615/0.4615, allocations: 45.24 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003927/0.0003926, allocations: 8.219 kB / 468.5 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4581/0.4585, allocations: 63.25 MB / 0.5193 GB, free: 43.57 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.6031, allocations: 109.7 MB / 0.6263 GB, free: 11.92 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.6034, allocations: 83.92 kB / 0.6264 GB, free: 11.84 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4497/1.053, allocations: 82.15 MB / 0.7067 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.875e-06/1.053, allocations: 0 / 0.7067 GB, free: 95.25 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001565/1.053, allocations: 86.42 kB / 0.7067 GB, free: 95.25 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.0159/1.069, allocations: 4.512 MB / 0.7111 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.069, allocations: 8.781 kB / 0.7112 GB, free: 93.46 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00243/1.072, allocations: 0.7698 MB / 0.7119 GB, free: 93.38 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009864/1.082, allocations: 2.297 MB / 0.7141 GB, free: 93.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.093, allocations: 4.076 MB / 0.7181 GB, free: 92.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002731/1.093, allocations: 326.1 kB / 0.7184 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/1.095, allocations: 428.6 kB / 0.7188 GB, free: 92.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/1.112, allocations: 10.4 MB / 0.729 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/1.113, allocations: 57.38 kB / 0.7291 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005855/1.113, allocations: 217.6 kB / 0.7293 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00134/1.114, allocations: 0.9836 MB / 0.7302 GB, free: 89.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01733/1.132, allocations: 8.291 MB / 0.7383 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04448/1.176, allocations: 48.38 MB / 0.7856 GB, free: 53.49 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008705/1.185, allocations: 3.687 MB / 0.7892 GB, free: 52.01 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01086/1.196, allocations: 7.899 MB / 0.7969 GB, free: 47.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.3e-05/1.196, allocations: 55.31 kB / 0.7969 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=141): time 4.258e-06/1.196, allocations: 0 / 0.7969 GB, free: 47.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=148): time 0.04556/1.242, allocations: 12.54 MB / 0.8092 GB, free: 41.91 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001473/1.243, allocations: 1.634 MB / 0.8108 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008327/1.252, allocations: 3.424 MB / 0.8141 GB, free: 39.04 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004664/1.252, allocations: 46.67 kB / 0.8142 GB, free: 38.99 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003081/1.255, allocations: 3.05 MB / 0.8171 GB, free: 36.64 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00157/1.257, allocations: 0.6068 MB / 0.8177 GB, free: 36.21 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008377/1.258, allocations: 122 kB / 0.8179 GB, free: 36.11 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004639/1.258, allocations: 0.5443 MB / 0.8184 GB, free: 35.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004647/1.263, allocations: 2.008 MB / 0.8203 GB, free: 35.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006033/1.269, allocations: 5.631 MB / 0.8258 GB, free: 29.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00474/1.274, allocations: 3.28 MB / 0.829 GB, free: 28 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/1.274, allocations: 37.62 kB / 0.8291 GB, free: 28 MB / 0.4948 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.02141/1.295, allocations: 8.827 MB / 0.8377 GB, free: 21.79 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 9.985e-05/1.295, allocations: 60 kB / 0.8378 GB, free: 21.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009237/1.305, allocations: 3.278 MB / 0.841 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00874/1.313, allocations: 1.902 MB / 0.8428 GB, free: 18.05 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/1.318, allocations: 1.328 MB / 0.8441 GB, free: 16.88 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007271/1.325, allocations: 5.968 MB / 0.8499 GB, free: 11.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00559/1.331, allocations: 396.3 kB / 0.8503 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/1.332, allocations: 363.3 kB / 0.8507 GB, free: 10.82 MB / 0.4948 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 () * Number of clocked 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.005803/1.338, allocations: 2.027 MB / 0.8526 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001061/1.339, allocations: 339.6 kB / 0.853 GB, free: 8.695 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006268/1.345, allocations: 2.919 MB / 0.8558 GB, free: 6.375 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00409/1.35, allocations: 2.468 MB / 0.8582 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.486e-05/1.35, allocations: 0 / 0.8582 GB, free: 4.398 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.03e-05/1.35, allocations: 23.44 kB / 0.8583 GB, free: 4.383 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0163/1.366, allocations: 8.521 MB / 0.8666 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.366, allocations: 6.062 kB / 0.8666 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/1.367, allocations: 247.6 kB / 0.8668 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003109/1.371, allocations: 1.026 MB / 0.8678 GB, free: 11.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002689/1.371, allocations: 39.66 kB / 0.8679 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006321/1.377, allocations: 5.112 MB / 0.8728 GB, free: 5.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00114/1.378, allocations: 1.486 MB / 0.8743 GB, free: 4.145 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009325/1.388, allocations: 5.307 MB / 0.8795 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/1.389, allocations: 392.7 kB / 0.8799 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.39, allocations: 31.98 kB / 0.8799 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/1.391, allocations: 127.8 kB / 0.88 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/1.391, allocations: 96.81 kB / 0.8801 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.392, allocations: 47.66 kB / 0.8801 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004469/1.396, allocations: 2.369 MB / 0.8825 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.61e-07/1.396, allocations: 0 / 0.8825 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006576/1.403, allocations: 1.039 MB / 0.8835 GB, free: 10.68 MB / 0.5261 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 (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.009273/1.412, allocations: 6.299 MB / 0.8896 GB, free: 4.301 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01039/1.422, allocations: 5.455 MB / 0.895 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.422, allocations: 4.188 kB / 0.895 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004568/1.427, allocations: 2.143 MB / 0.8971 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003393/1.43, allocations: 405.5 kB / 0.8974 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3355/1.766, allocations: 122.6 MB / 1.017 GB, free: 44.66 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004007/1.77, allocations: 3.247 MB / 1.02 GB, free: 43.87 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004458/1.774, allocations: 1.824 MB / 1.022 GB, free: 43.83 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00256/1.777, allocations: 1.808 MB / 1.024 GB, free: 43.83 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/1.777, allocations: 2.062 kB / 1.024 GB, free: 43.83 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1379/1.915, allocations: 75.1 MB / 1.097 GB, free: 23.95 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002175/1.915, allocations: 217.3 kB / 1.097 GB, free: 23.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.762/6.677, allocations: 4 kB / 1.097 GB, free: 23.7 MB / 0.5573 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat