Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.001483/0.001482, allocations: 180.9 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001062/0.001062, allocations: 78.77 kB / 267.5 MB, free: 14.05 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.2901/0.2901, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.856e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5503/0.6679, allocations: 107.4 MB / 0.5778 GB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.6683, allocations: 85.72 kB / 0.5779 GB, free: 12.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.363/1.031, allocations: 84.44 MB / 0.6603 GB, free: 15.77 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.031, allocations: 0 / 0.6603 GB, free: 15.77 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002835/1.032, allocations: 84 kB / 0.6604 GB, free: 15.69 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.02513/1.057, allocations: 4.355 MB / 0.6647 GB, free: 11.27 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.741e-05/1.057, allocations: 12.03 kB / 0.6647 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004133/1.061, allocations: 0.8113 MB / 0.6655 GB, free: 10.43 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0192/1.08, allocations: 2.275 MB / 0.6677 GB, free: 8.145 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02113/1.102, allocations: 4.82 MB / 0.6724 GB, free: 3.258 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005559/1.102, allocations: 341 kB / 0.6727 GB, free: 2.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002704/1.105, allocations: 451.8 kB / 0.6731 GB, free: 2.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03554/1.14, allocations: 10.8 MB / 0.6837 GB, free: 6.59 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002846/1.141, allocations: 55.5 kB / 0.6837 GB, free: 6.535 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002044/1.143, allocations: 219.9 kB / 0.684 GB, free: 6.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002914/1.146, allocations: 1.042 MB / 0.685 GB, free: 5.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02999/1.176, allocations: 8.592 MB / 0.6934 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4304/1.606, allocations: 50.01 MB / 0.7422 GB, free: 83.57 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0172/1.624, allocations: 3.789 MB / 0.7459 GB, free: 82.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004141/1.628, allocations: 1.735 MB / 0.7476 GB, free: 82.87 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02015/1.648, allocations: 8.341 MB / 0.7557 GB, free: 79.95 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.486e-05/1.648, allocations: 61.41 kB / 0.7558 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 6.963e-06/1.648, allocations: 0 / 0.7558 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.04811/1.696, allocations: 10.97 MB / 0.7665 GB, free: 77.2 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001354/1.698, allocations: 1.615 MB / 0.7681 GB, free: 75.67 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00778/1.705, allocations: 3.527 MB / 0.7715 GB, free: 75.34 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004665/1.706, allocations: 44.73 kB / 0.7716 GB, free: 75.31 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002563/1.709, allocations: 3.146 MB / 0.7746 GB, free: 73.57 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001074/1.71, allocations: 0.6466 MB / 0.7753 GB, free: 73.22 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006845/1.71, allocations: 120.8 kB / 0.7754 GB, free: 73.22 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003708/1.711, allocations: 0.5638 MB / 0.7759 GB, free: 72.89 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005215/1.716, allocations: 2.115 MB / 0.778 GB, free: 72.88 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007691/1.724, allocations: 5.849 MB / 0.7837 GB, free: 68.03 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00778/1.732, allocations: 3.48 MB / 0.7871 GB, free: 67.04 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001516/1.732, allocations: 47.41 kB / 0.7872 GB, free: 67.04 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.03403/1.766, allocations: 9.075 MB / 0.796 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.766, allocations: 61.69 kB / 0.7961 GB, free: 64.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01844/1.784, allocations: 3.555 MB / 0.7996 GB, free: 63.54 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01766/1.802, allocations: 1.937 MB / 0.8015 GB, free: 63.33 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008518/1.811, allocations: 1.401 MB / 0.8028 GB, free: 63.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.823, allocations: 5.759 MB / 0.8084 GB, free: 59.54 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007846/1.831, allocations: 423 kB / 0.8088 GB, free: 59.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001462/1.833, allocations: 377.4 kB / 0.8092 GB, free: 59.38 MB / 0.4948 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 () * 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.001374/1.834, allocations: 0.5741 MB / 0.8098 GB, free: 58.9 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008932/1.835, allocations: 331.6 kB / 0.8101 GB, free: 58.72 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.845, allocations: 3.155 MB / 0.8132 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008724/1.854, allocations: 2.65 MB / 0.8158 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/1.854, allocations: 3.406 kB / 0.8158 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.646e-05/1.854, allocations: 6.844 kB / 0.8158 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03671/1.891, allocations: 9.142 MB / 0.8247 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.321e-05/1.891, allocations: 0 / 0.8247 GB, free: 53.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003794/1.895, allocations: 271.1 kB / 0.8249 GB, free: 52.94 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007658/1.902, allocations: 1.026 MB / 0.826 GB, free: 52.24 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005609/1.903, allocations: 38.66 kB / 0.826 GB, free: 52.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01167/1.915, allocations: 5.003 MB / 0.8309 GB, free: 47.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001636/1.916, allocations: 1.482 MB / 0.8323 GB, free: 45.99 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/1.936, allocations: 5.665 MB / 0.8379 GB, free: 41.03 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.938, allocations: 409.9 kB / 0.8382 GB, free: 40.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00149/1.939, allocations: 28 kB / 0.8383 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/1.944, allocations: 144.5 kB / 0.8384 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007465/1.945, allocations: 98.31 kB / 0.8385 GB, free: 40.46 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000283/1.945, allocations: 51.78 kB / 0.8386 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00858/1.954, allocations: 2.429 MB / 0.8409 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.392e-06/1.954, allocations: 0 / 0.8409 GB, free: 38.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0108/1.965, allocations: 1.096 MB / 0.842 GB, free: 37.2 MB / 0.4948 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 (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.0205/1.985, allocations: 6.654 MB / 0.8485 GB, free: 31.26 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02109/2.006, allocations: 5.722 MB / 0.8541 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/2.007, allocations: 0 / 0.8541 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.009667/2.016, allocations: 2.246 MB / 0.8563 GB, free: 24.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005057/2.021, allocations: 401.9 kB / 0.8567 GB, free: 23.77 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04775/2.069, allocations: 10.07 MB / 0.8665 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01015/2.079, allocations: 3.388 MB / 0.8698 GB, free: 12.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006603/2.086, allocations: 1.948 MB / 0.8717 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of SimCode: time 1.603e-06/2.086, allocations: 0 / 0.8717 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.092/7.178, allocations: 153.9 MB / 1.022 GB, free: 51.41 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Frames_AngularVelocity.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat