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.001108/0.001108, allocations: 173.7 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.488/1.488, allocations: 221.5 MB / 230.7 MB, free: 7.566 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.0009977/0.0009977, allocations: 103.1 kB / 281.6 MB, free: 5.309 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.2148/0.2148, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.54e-05/1.544e-05, allocations: 4.156 kB / 444.7 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 61.93 MB / 0.4948 GB, free: 1.137 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5663, allocations: 108 MB / 0.6003 GB, free: 4.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.5666, allocations: 75.97 kB / 0.6003 GB, free: 4.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2031/0.7697, allocations: 79.6 MB / 0.6781 GB, free: 4.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.7697, allocations: 0 / 0.6781 GB, free: 4.148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001605/0.7699, allocations: 87.94 kB / 0.6781 GB, free: 4.062 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.01475/0.7846, allocations: 4.185 MB / 0.6822 GB, free: 15.81 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/0.7847, allocations: 15.98 kB / 0.6822 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01144/0.7962, allocations: 2.233 MB / 0.6844 GB, free: 13.55 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01454/0.8108, allocations: 4.573 MB / 0.6889 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.8111, allocations: 140 kB / 0.689 GB, free: 8.777 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002172/0.8133, allocations: 251.9 kB / 0.6893 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01293/0.8262, allocations: 5.951 MB / 0.6951 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3765/1.203, allocations: 9.215 MB / 0.7041 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005667/1.203, allocations: 60.67 kB / 0.7041 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002201/1.206, allocations: 30.78 kB / 0.7042 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001992/1.208, allocations: 0.9799 MB / 0.7051 GB, free: 111.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05505/1.263, allocations: 47.14 MB / 0.7511 GB, free: 81.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003054/1.266, allocations: 2.578 MB / 0.7537 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001585/1.267, allocations: 1.504 MB / 0.7551 GB, free: 80.15 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/1.269, allocations: 1.298 MB / 0.7564 GB, free: 78.97 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.269, allocations: 53.41 kB / 0.7565 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=147): time 4.429e-06/1.269, allocations: 0 / 0.7565 GB, free: 78.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154): time 0.01797/1.287, allocations: 9.839 MB / 0.7661 GB, free: 74.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.662e-05/1.287, allocations: 146.9 kB / 0.7662 GB, free: 74.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003523/1.29, allocations: 2.897 MB / 0.769 GB, free: 73.72 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.00028/1.29, allocations: 25.7 kB / 0.7691 GB, free: 73.69 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00137/1.292, allocations: 3.11 MB / 0.7721 GB, free: 71.36 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000536/1.292, allocations: 0.612 MB / 0.7727 GB, free: 70.92 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/1.293, allocations: 3.781 kB / 0.7727 GB, free: 70.92 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002453/1.293, allocations: 0.567 MB / 0.7732 GB, free: 70.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002128/1.295, allocations: 1.913 MB / 0.7751 GB, free: 69.83 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/1.298, allocations: 5.644 MB / 0.7806 GB, free: 63.99 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003841/1.302, allocations: 3.249 MB / 0.7838 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.003e-05/1.302, allocations: 36.44 kB / 0.7838 GB, free: 62.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=782) (initialization): time 0.01735/1.32, allocations: 8.149 MB / 0.7918 GB, free: 60.26 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.582e-05/1.32, allocations: 65.56 kB / 0.7919 GB, free: 60.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008807/1.329, allocations: 3.219 MB / 0.795 GB, free: 59.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009003/1.338, allocations: 1.932 MB / 0.7969 GB, free: 59.28 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/1.343, allocations: 1.377 MB / 0.7982 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/1.35, allocations: 5.58 MB / 0.8037 GB, free: 55.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005261/1.356, allocations: 289.5 kB / 0.804 GB, free: 55.64 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/1.357, allocations: 371 kB / 0.8043 GB, free: 55.59 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 614 * 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 (744): * Single equations (assignments): 735 * 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.0008864/1.358, allocations: 452 kB / 0.8047 GB, free: 55.22 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00564/1.364, allocations: 3.152 MB / 0.8078 GB, free: 54.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006609/1.364, allocations: 303.2 kB / 0.8081 GB, free: 54.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005263/1.37, allocations: 2.799 MB / 0.8108 GB, free: 53.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003947/1.374, allocations: 2.396 MB / 0.8132 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.62e-05/1.374, allocations: 7.406 kB / 0.8132 GB, free: 51.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.697e-05/1.374, allocations: 7.703 kB / 0.8132 GB, free: 51.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01455/1.388, allocations: 8.181 MB / 0.8212 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.388, allocations: 4 kB / 0.8212 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/1.389, allocations: 256.5 kB / 0.8214 GB, free: 44.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002655/1.392, allocations: 1.006 MB / 0.8224 GB, free: 43.93 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001689/1.392, allocations: 26.83 kB / 0.8224 GB, free: 43.91 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004434/1.397, allocations: 4.909 MB / 0.8272 GB, free: 39.42 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007388/1.397, allocations: 1.419 MB / 0.8286 GB, free: 37.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007127/1.405, allocations: 5.242 MB / 0.8337 GB, free: 33.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001164/1.406, allocations: 355.1 kB / 0.8341 GB, free: 32.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003193/1.406, allocations: 15.14 kB / 0.8341 GB, free: 32.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.408, allocations: 107.1 kB / 0.8342 GB, free: 32.92 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.408, allocations: 99.41 kB / 0.8343 GB, free: 32.86 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.408, allocations: 58.97 kB / 0.8343 GB, free: 32.81 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002668/1.411, allocations: 1.9 MB / 0.8362 GB, free: 31.16 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.71e-07/1.411, allocations: 0 / 0.8362 GB, free: 31.16 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005562/1.416, allocations: 0.9439 MB / 0.8371 GB, free: 30.22 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET5.x[3],$STATESET5.x[2],$STATESET5.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 (120): * Single equations (assignments): 113 * 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.007739/1.424, allocations: 6.225 MB / 0.8432 GB, free: 24.68 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.009516/1.433, allocations: 5.215 MB / 0.8483 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/1.433, allocations: 0 / 0.8483 GB, free: 19.79 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003705/1.437, allocations: 2.112 MB / 0.8504 GB, free: 17.62 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/1.44, allocations: 337.8 kB / 0.8507 GB, free: 17.29 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0192/1.459, allocations: 8.834 MB / 0.8593 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002896/1.462, allocations: 3.253 MB / 0.8625 GB, free: 5.148 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00442/1.466, allocations: 1.889 MB / 0.8643 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002407/1.469, allocations: 1.784 MB / 0.8661 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of SimCode: time 9.62e-07/1.469, allocations: 0 / 0.8661 GB, free: 1.484 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5013/1.97, allocations: 69.99 MB / 0.9344 GB, free: 130.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001587/1.97, allocations: 141.2 kB / 0.9346 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.893/5.863, allocations: 4 kB / 0.9346 GB, free: 130.1 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