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.001652/0.001652, allocations: 183.6 kB / 13.19 MB, free: 2.129 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.768/1.768, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001131/0.001131, allocations: 78.69 kB / 267 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4363/0.4363, allocations: 43.47 MB / 358.6 MB, free: 51.58 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.743e-05/3.754e-05, allocations: 8 kB / 425.4 MB, free: 8.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1686, allocations: 58.84 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4837/0.6524, allocations: 107.4 MB / 0.5778 GB, free: 14.4 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002122/0.6526, allocations: 76.22 kB / 0.5779 GB, free: 14.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2157/0.8683, allocations: 84.45 MB / 0.6603 GB, free: 2.656 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.8684, allocations: 0 / 0.6603 GB, free: 2.656 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002066/0.8686, allocations: 91.98 kB / 0.6604 GB, free: 2.566 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.01761/0.8862, allocations: 4.352 MB / 0.6647 GB, free: 14.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.8863, allocations: 11.97 kB / 0.6647 GB, free: 14.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002909/0.8892, allocations: 0.8113 MB / 0.6655 GB, free: 13.31 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01141/0.9006, allocations: 2.279 MB / 0.6677 GB, free: 11.02 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01434/0.915, allocations: 4.805 MB / 0.6724 GB, free: 6.152 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004969/0.9156, allocations: 345 kB / 0.6727 GB, free: 5.812 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002706/0.9183, allocations: 459.8 kB / 0.6732 GB, free: 5.363 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02787/0.9462, allocations: 10.8 MB / 0.6837 GB, free: 9.477 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001808/0.9464, allocations: 55.5 kB / 0.6838 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007254/0.9472, allocations: 219.9 kB / 0.684 GB, free: 9.207 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001595/0.9488, allocations: 1.046 MB / 0.685 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.371/1.32, allocations: 8.58 MB / 0.6934 GB, free: 96 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0627/1.383, allocations: 50.03 MB / 0.7422 GB, free: 65.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009068/1.392, allocations: 3.778 MB / 0.7459 GB, free: 65.15 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002254/1.394, allocations: 1.743 MB / 0.7476 GB, free: 65.11 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/1.406, allocations: 8.328 MB / 0.7558 GB, free: 62.18 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/1.406, allocations: 51.78 kB / 0.7558 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=153): time 5.551e-06/1.406, allocations: 0 / 0.7558 GB, free: 62.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02673/1.433, allocations: 10.98 MB / 0.7665 GB, free: 58.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001017/1.434, allocations: 1.619 MB / 0.7681 GB, free: 57.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006357/1.44, allocations: 3.52 MB / 0.7715 GB, free: 55.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005933/1.441, allocations: 50.27 kB / 0.7716 GB, free: 55.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002345/1.443, allocations: 3.207 MB / 0.7747 GB, free: 53.33 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009684/1.444, allocations: 0.6456 MB / 0.7754 GB, free: 52.87 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000274/1.444, allocations: 119.6 kB / 0.7755 GB, free: 52.78 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003127/1.445, allocations: 0.5598 MB / 0.776 GB, free: 52.37 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00372/1.448, allocations: 2.116 MB / 0.7781 GB, free: 51.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006283/1.455, allocations: 5.843 MB / 0.7838 GB, free: 45.92 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007461/1.462, allocations: 3.485 MB / 0.7872 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001845/1.462, allocations: 38.03 kB / 0.7872 GB, free: 44.83 MB / 0.4948 GB Notification: Performance of matching and sorting (n=790) (initialization): time 0.02416/1.487, allocations: 9.187 MB / 0.7962 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002989/1.487, allocations: 71.98 kB / 0.7963 GB, free: 41.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01037/1.497, allocations: 3.554 MB / 0.7997 GB, free: 41.06 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009181/1.506, allocations: 1.937 MB / 0.8016 GB, free: 40.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005741/1.512, allocations: 1.404 MB / 0.803 GB, free: 40.69 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007437/1.52, allocations: 5.762 MB / 0.8086 GB, free: 37.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006829/1.527, allocations: 416 kB / 0.809 GB, free: 36.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001882/1.529, allocations: 376.1 kB / 0.8094 GB, free: 36.91 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.002577/1.531, allocations: 0.5747 MB / 0.8099 GB, free: 36.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001289/1.532, allocations: 335.7 kB / 0.8103 GB, free: 36.25 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007236/1.54, allocations: 3.134 MB / 0.8133 GB, free: 35.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004735/1.544, allocations: 2.655 MB / 0.8159 GB, free: 34.37 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.544, allocations: 3.562 kB / 0.8159 GB, free: 34.37 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/1.545, allocations: 6.516 kB / 0.8159 GB, free: 34.37 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0219/1.566, allocations: 9.161 MB / 0.8249 GB, free: 31.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.038e-05/1.566, allocations: 3.938 kB / 0.8249 GB, free: 31.03 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.568, allocations: 270.4 kB / 0.8251 GB, free: 31.01 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002952/1.571, allocations: 1.023 MB / 0.8261 GB, free: 30.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003232/1.571, allocations: 43.92 kB / 0.8262 GB, free: 30.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00515/1.576, allocations: 5.004 MB / 0.8311 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009015/1.577, allocations: 1.475 MB / 0.8325 GB, free: 26 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009203/1.587, allocations: 5.661 MB / 0.838 GB, free: 23.64 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/1.588, allocations: 414.3 kB / 0.8384 GB, free: 23.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001248/1.59, allocations: 30.48 kB / 0.8385 GB, free: 23.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002429/1.592, allocations: 149.2 kB / 0.8386 GB, free: 23.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/1.592, allocations: 103.5 kB / 0.8387 GB, free: 23.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.593, allocations: 44.39 kB / 0.8387 GB, free: 23.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.00538/1.598, allocations: 2.43 MB / 0.8411 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2e-07/1.598, allocations: 4 kB / 0.8411 GB, free: 22.41 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007728/1.606, allocations: 1.096 MB / 0.8422 GB, free: 21.89 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.009789/1.615, allocations: 6.649 MB / 0.8487 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01159/1.627, allocations: 5.724 MB / 0.8543 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/1.627, allocations: 0.75 kB / 0.8543 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004479/1.632, allocations: 2.244 MB / 0.8565 GB, free: 8.805 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/1.636, allocations: 405.9 kB / 0.8569 GB, free: 8.465 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.032/1.668, allocations: 9.552 MB / 0.8662 GB, free: 200 kB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008122/1.676, allocations: 3.473 MB / 0.8696 GB, free: 13.86 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006598/1.683, allocations: 1.904 MB / 0.8714 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004763/1.687, allocations: 1.903 MB / 0.8733 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of SimCode: time 3.016e-06/1.687, allocations: 0 / 0.8733 GB, free: 10.91 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5684/2.256, allocations: 78.64 MB / 0.9501 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/2.256, allocations: 176.9 kB / 0.9503 GB, free: 100.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.272/6.528, allocations: 11.78 kB / 0.9503 GB, free: 100.1 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