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.001642/0.001642, allocations: 177 kB / 17.06 MB, free: 5.094 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.309/1.309, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 88.08 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3135/0.3135, allocations: 44.22 MB / 387.5 MB, free: 38.82 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004972/0.0004968, allocations: 8 kB / 460 MB, free: 1.426 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3458/0.3464, allocations: 61.9 MB / 0.5096 GB, free: 38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.4924, allocations: 108.8 MB / 0.6158 GB, free: 2.316 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/0.4928, allocations: 87.92 kB / 0.6159 GB, free: 2.234 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.568/1.061, allocations: 81.41 MB / 0.6954 GB, free: 96.32 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.146e-06/1.061, allocations: 6.531 kB / 0.6954 GB, free: 96.32 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002579/1.061, allocations: 80.19 kB / 0.6955 GB, free: 96.32 MB / 490.7 MB 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.01792/1.079, allocations: 4.397 MB / 0.6998 GB, free: 94.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/1.079, allocations: 12.94 kB / 0.6998 GB, free: 94.51 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003784/1.083, allocations: 0.7723 MB / 0.7006 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01072/1.094, allocations: 2.236 MB / 0.7028 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01549/1.109, allocations: 4.596 MB / 0.7072 GB, free: 93.59 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005218/1.11, allocations: 331.8 kB / 0.7076 GB, free: 93.57 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002849/1.113, allocations: 431.2 kB / 0.708 GB, free: 93.57 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0286/1.141, allocations: 10.4 MB / 0.7181 GB, free: 90.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003452/1.142, allocations: 63.44 kB / 0.7182 GB, free: 90.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001688/1.143, allocations: 213.1 kB / 0.7184 GB, free: 90.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001505/1.145, allocations: 0.9725 MB / 0.7193 GB, free: 90.04 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01544/1.16, allocations: 8.3 MB / 0.7274 GB, free: 87.4 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04272/1.203, allocations: 48.38 MB / 0.7747 GB, free: 50.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007831/1.211, allocations: 3.681 MB / 0.7783 GB, free: 48.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00985/1.221, allocations: 7.898 MB / 0.786 GB, free: 44.24 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.221, allocations: 51.38 kB / 0.786 GB, free: 44.18 MB / 490.7 MB Notification: Performance of pre-optimization done (n=141): time 3.877e-06/1.221, allocations: 0 / 0.786 GB, free: 44.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=148): time 0.02677/1.248, allocations: 12.54 MB / 0.7983 GB, free: 37.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001089/1.249, allocations: 1.63 MB / 0.7999 GB, free: 35.96 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004503/1.253, allocations: 3.433 MB / 0.8032 GB, free: 33.08 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000265/1.254, allocations: 45.7 kB / 0.8033 GB, free: 33.03 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.255, allocations: 3.053 MB / 0.8063 GB, free: 30.29 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005944/1.256, allocations: 0.5987 MB / 0.8068 GB, free: 29.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/1.256, allocations: 118.9 kB / 0.807 GB, free: 29.65 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002586/1.256, allocations: 0.5461 MB / 0.8075 GB, free: 29.17 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/1.259, allocations: 2.007 MB / 0.8095 GB, free: 27.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003543/1.262, allocations: 5.628 MB / 0.815 GB, free: 20.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003519/1.266, allocations: 3.291 MB / 0.8182 GB, free: 17.49 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-05/1.266, allocations: 40 kB / 0.8182 GB, free: 17.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=752) (initialization): time 0.0175/1.283, allocations: 8.853 MB / 0.8268 GB, free: 10.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/1.283, allocations: 66.34 kB / 0.8269 GB, free: 9.945 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008999/1.292, allocations: 3.306 MB / 0.8301 GB, free: 6.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00864/1.301, allocations: 1.93 MB / 0.832 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/1.306, allocations: 1.326 MB / 0.8333 GB, free: 3.359 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/1.313, allocations: 5.98 MB / 0.8392 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005342/1.319, allocations: 399.3 kB / 0.8395 GB, free: 12.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001363/1.32, allocations: 356 kB / 0.8399 GB, free: 12.38 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.005126/1.325, allocations: 2.026 MB / 0.8419 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009655/1.326, allocations: 335.7 kB / 0.8422 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006608/1.333, allocations: 2.926 MB / 0.845 GB, free: 7.066 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004728/1.338, allocations: 2.472 MB / 0.8475 GB, free: 4.574 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/1.338, allocations: 4 kB / 0.8475 GB, free: 4.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.376e-05/1.338, allocations: 3.984 kB / 0.8475 GB, free: 4.566 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.356, allocations: 8.526 MB / 0.8558 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-05/1.356, allocations: 0 / 0.8558 GB, free: 11.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001207/1.358, allocations: 255.9 kB / 0.856 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/1.361, allocations: 1.025 MB / 0.857 GB, free: 10.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001892/1.361, allocations: 35.98 kB / 0.8571 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005674/1.367, allocations: 5.112 MB / 0.8621 GB, free: 5.281 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009708/1.368, allocations: 1.497 MB / 0.8635 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008626/1.376, allocations: 5.307 MB / 0.8687 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/1.378, allocations: 392.7 kB / 0.8691 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007522/1.378, allocations: 35.89 kB / 0.8691 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.38, allocations: 127.8 kB / 0.8692 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003131/1.381, allocations: 96.8 kB / 0.8693 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.381, allocations: 43.98 kB / 0.8694 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004417/1.385, allocations: 2.369 MB / 0.8717 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.81e-07/1.385, allocations: 0 / 0.8717 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005706/1.391, allocations: 1.035 MB / 0.8727 GB, free: 10.18 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.008647/1.4, allocations: 6.3 MB / 0.8788 GB, free: 3.805 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.2719/1.671, allocations: 5.459 MB / 0.8842 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/1.672, allocations: 0 / 0.8842 GB, free: 130.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003807/1.675, allocations: 2.139 MB / 0.8863 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/1.678, allocations: 403 kB / 0.8866 GB, free: 130 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07878/1.757, allocations: 122.6 MB / 1.006 GB, free: 25.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004671/1.761, allocations: 3.241 MB / 1.01 GB, free: 40.57 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005758/1.767, allocations: 1.831 MB / 1.011 GB, free: 40.42 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003274/1.77, allocations: 1.801 MB / 1.013 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of SimCode: time 1.192e-06/1.77, allocations: 4 kB / 1.013 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.886, allocations: 75.11 MB / 1.086 GB, free: 3.895 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/1.886, allocations: 219.3 kB / 1.087 GB, free: 3.645 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.116/6.002, allocations: 2.953 kB / 1.087 GB, free: 3.645 MB / 0.5417 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