Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001384/0.001384, allocations: 183.2 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.626/1.626, allocations: 205.4 MB / 221.9 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009597/0.0009597, allocations: 82.88 kB / 270.2 MB, free: 13.39 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2058/0.2058, allocations: 43.56 MB / 362.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004046/0.0004047, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1316, allocations: 58.86 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5516, allocations: 107.5 MB / 0.5838 GB, free: 8.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5519, allocations: 79.95 kB / 0.5839 GB, free: 8.438 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2053/0.7572, allocations: 84.4 MB / 0.6663 GB, free: 11.91 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.7572, allocations: 0 / 0.6663 GB, free: 11.91 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001803/0.7574, allocations: 84 kB / 0.6664 GB, free: 11.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1590 * Number of variables: 1590 Notification: Performance of Generate backend data structure: time 0.01661/0.774, allocations: 4.572 MB / 0.6709 GB, free: 7.18 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.078e-05/0.7741, allocations: 8.031 kB / 0.6709 GB, free: 7.172 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002842/0.777, allocations: 0.8152 MB / 0.6717 GB, free: 6.344 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01059/0.7876, allocations: 2.279 MB / 0.6739 GB, free: 4.055 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01439/0.802, allocations: 4.836 MB / 0.6786 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004537/0.8025, allocations: 344.9 kB / 0.679 GB, free: 14.81 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003116/0.8056, allocations: 455.8 kB / 0.6794 GB, free: 14.37 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02578/0.8314, allocations: 10.87 MB / 0.69 GB, free: 2.402 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.8317, allocations: 63.48 kB / 0.6901 GB, free: 2.34 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009221/0.8326, allocations: 223.9 kB / 0.6903 GB, free: 2.121 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001549/0.8342, allocations: 1.034 MB / 0.6913 GB, free: 1.082 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01781/0.852, allocations: 8.72 MB / 0.6998 GB, free: 8.344 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3142/1.166, allocations: 50.02 MB / 0.7487 GB, free: 83.02 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009384/1.176, allocations: 3.802 MB / 0.7524 GB, free: 82.34 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01458/1.19, allocations: 8.353 MB / 0.7605 GB, free: 79.39 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/1.19, allocations: 58.81 kB / 0.7606 GB, free: 79.35 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=153): time 5.82e-06/1.19, allocations: 0 / 0.7606 GB, free: 79.35 MB / 0.4949 GB Notification: Performance of matching and sorting (n=160): time 0.02754/1.218, allocations: 13.3 MB / 0.7736 GB, free: 76.07 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001008/1.219, allocations: 1.637 MB / 0.7752 GB, free: 74.54 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004709/1.224, allocations: 3.557 MB / 0.7786 GB, free: 74.23 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0003116/1.224, allocations: 49.28 kB / 0.7787 GB, free: 74.2 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.001613/1.226, allocations: 3.21 MB / 0.7818 GB, free: 72.51 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006093/1.226, allocations: 0.6476 MB / 0.7825 GB, free: 72.16 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002307/1.227, allocations: 119.3 kB / 0.7826 GB, free: 72.16 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0002515/1.227, allocations: 0.5582 MB / 0.7831 GB, free: 71.84 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002849/1.23, allocations: 2.164 MB / 0.7852 GB, free: 71.55 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004491/1.234, allocations: 5.902 MB / 0.791 GB, free: 65.81 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/1.239, allocations: 3.495 MB / 0.7944 GB, free: 64.63 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.112e-05/1.239, allocations: 40.38 kB / 0.7944 GB, free: 64.63 MB / 0.4949 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.01986/1.259, allocations: 9.296 MB / 0.8035 GB, free: 61.79 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-05/1.259, allocations: 63.44 kB / 0.8036 GB, free: 61.79 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00905/1.268, allocations: 3.61 MB / 0.8071 GB, free: 60.85 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008474/1.277, allocations: 1.944 MB / 0.809 GB, free: 60.64 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004368/1.281, allocations: 1.392 MB / 0.8104 GB, free: 60.47 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006707/1.288, allocations: 5.996 MB / 0.8162 GB, free: 56.77 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005415/1.293, allocations: 419.8 kB / 0.8166 GB, free: 56.66 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.294, allocations: 378.9 kB / 0.817 GB, free: 56.61 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (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 (752): * Single equations (assignments): 743 * 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.003338/1.298, allocations: 2.124 MB / 0.8191 GB, free: 55.6 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005824/1.298, allocations: 338.3 kB / 0.8194 GB, free: 55.41 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005301/1.304, allocations: 3.168 MB / 0.8225 GB, free: 54.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004178/1.308, allocations: 2.667 MB / 0.8251 GB, free: 53.44 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/1.308, allocations: 7.797 kB / 0.8251 GB, free: 53.44 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.968e-05/1.308, allocations: 7.266 kB / 0.8251 GB, free: 53.44 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.323, allocations: 9.171 MB / 0.8341 GB, free: 46.33 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.323, allocations: 0 / 0.8341 GB, free: 46.33 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001338/1.325, allocations: 279.7 kB / 0.8343 GB, free: 46.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/1.327, allocations: 1.017 MB / 0.8353 GB, free: 45.43 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/1.327, allocations: 43.27 kB / 0.8354 GB, free: 45.39 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004317/1.332, allocations: 5.108 MB / 0.8403 GB, free: 40.66 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007198/1.332, allocations: 1.485 MB / 0.8418 GB, free: 39.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007346/1.34, allocations: 5.696 MB / 0.8474 GB, free: 34.14 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001372/1.341, allocations: 418.3 kB / 0.8478 GB, free: 33.73 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004609/1.342, allocations: 32.81 kB / 0.8478 GB, free: 33.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00151/1.343, allocations: 148.8 kB / 0.8479 GB, free: 33.62 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/1.343, allocations: 98.95 kB / 0.848 GB, free: 33.56 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001313/1.344, allocations: 48.31 kB / 0.8481 GB, free: 33.52 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004046/1.348, allocations: 2.466 MB / 0.8505 GB, free: 31.5 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.5e-07/1.348, allocations: 4 kB / 0.8505 GB, free: 31.5 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005545/1.353, allocations: 1.096 MB / 0.8515 GB, free: 30.41 MB / 0.4949 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 (126): * Single equations (assignments): 119 * 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.007381/1.361, allocations: 6.688 MB / 0.8581 GB, free: 24.48 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.00858/1.369, allocations: 5.793 MB / 0.8637 GB, free: 19.42 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.369, allocations: 0.75 kB / 0.8637 GB, free: 19.42 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003538/1.373, allocations: 2.261 MB / 0.8659 GB, free: 17.15 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/1.375, allocations: 413.4 kB / 0.8663 GB, free: 16.77 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3428/1.718, allocations: 127 MB / 0.9904 GB, free: 45.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003661/1.722, allocations: 3.384 MB / 0.9937 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005081/1.727, allocations: 1.899 MB / 0.9955 GB, free: 44.67 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002303/1.729, allocations: 1.906 MB / 0.9974 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.503e-06/1.729, allocations: 0 / 0.9974 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.843, allocations: 78.5 MB / 1.074 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.843, allocations: 210.9 kB / 1.074 GB, free: 5.609 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.165/6.008, allocations: 0 / 1.074 GB, free: 5.609 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat