Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001522/0.001522, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.541/1.541, allocations: 227.2 MB / 245 MB, free: 7.578 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009761/0.0009761, allocations: 98.36 kB / 297.2 MB, free: 6.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4223/0.4223, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002858/0.0002858, allocations: 11.98 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3826, allocations: 63.24 MB / 0.5193 GB, free: 43.58 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.5228, allocations: 104.7 MB / 0.6215 GB, free: 0.8711 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003052/0.5232, allocations: 83.92 kB / 0.6216 GB, free: 0.793 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5386/1.062, allocations: 86.73 MB / 0.7063 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/1.062, allocations: 3.188 kB / 0.7063 GB, free: 64.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.000244/1.062, allocations: 73.25 kB / 0.7064 GB, free: 64.38 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01254/1.075, allocations: 3.747 MB / 0.71 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/1.075, allocations: 10.09 kB / 0.71 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003647/1.078, allocations: 0.7627 MB / 0.7108 GB, free: 62.75 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01508/1.093, allocations: 3.486 MB / 0.7142 GB, free: 62.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/1.106, allocations: 3.496 MB / 0.7176 GB, free: 62.01 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004419/1.106, allocations: 283.8 kB / 0.7179 GB, free: 62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003021/1.109, allocations: 378.9 kB / 0.7182 GB, free: 62 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/1.137, allocations: 10.12 MB / 0.7281 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000291/1.138, allocations: 31.56 kB / 0.7282 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002248/1.14, allocations: 170 kB / 0.7283 GB, free: 60.78 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001885/1.142, allocations: 1.181 MB / 0.7295 GB, free: 60.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02178/1.164, allocations: 9.925 MB / 0.7392 GB, free: 60.73 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05766/1.221, allocations: 34.71 MB / 0.7731 GB, free: 46.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008835/1.23, allocations: 4.965 MB / 0.7779 GB, free: 45.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001426/1.232, allocations: 1.879 MB / 0.7797 GB, free: 43.9 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/1.232, allocations: 56.38 kB / 0.7798 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.953e-06/1.232, allocations: 0 / 0.7798 GB, free: 43.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.03335/1.265, allocations: 14.29 MB / 0.7937 GB, free: 41.88 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/1.265, allocations: 71.25 kB / 0.7938 GB, free: 41.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004769/1.27, allocations: 2.344 MB / 0.7961 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004243/1.27, allocations: 59.17 kB / 0.7962 GB, free: 41.07 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001983/1.272, allocations: 2.638 MB / 0.7987 GB, free: 39.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001057/1.274, allocations: 0.8464 MB / 0.7996 GB, free: 38.42 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005037/1.274, allocations: 98.81 kB / 0.7997 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004481/1.274, allocations: 0.5338 MB / 0.8002 GB, free: 37.95 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003459/1.278, allocations: 2.173 MB / 0.8023 GB, free: 37.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004382/1.282, allocations: 5.019 MB / 0.8072 GB, free: 32.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/1.287, allocations: 3.301 MB / 0.8104 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.936e-05/1.287, allocations: 27.06 kB / 0.8105 GB, free: 31.42 MB / 0.4948 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.02201/1.309, allocations: 7.808 MB / 0.8181 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002262/1.309, allocations: 50.81 kB / 0.8181 GB, free: 28.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002565/1.31, allocations: 107.1 kB / 0.8182 GB, free: 28.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004283/1.314, allocations: 0.7965 MB / 0.819 GB, free: 28.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007562/1.321, allocations: 1.181 MB / 0.8202 GB, free: 27.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009375/1.331, allocations: 4.238 MB / 0.8243 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007054/1.338, allocations: 291.8 kB / 0.8246 GB, free: 23.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001485/1.34, allocations: 295.8 kB / 0.8249 GB, free: 22.95 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (630): * Single equations (assignments): 623 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006739/1.346, allocations: 2.023 MB / 0.8268 GB, free: 21.2 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009172/1.347, allocations: 264.5 kB / 0.8271 GB, free: 20.94 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01176/1.359, allocations: 4.697 MB / 0.8317 GB, free: 17.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-05/1.359, allocations: 43.83 kB / 0.8317 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/1.359, allocations: 0 / 0.8317 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-05/1.359, allocations: 10.73 kB / 0.8317 GB, free: 17.06 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02112/1.38, allocations: 10.55 MB / 0.842 GB, free: 6.398 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/1.38, allocations: 4 kB / 0.842 GB, free: 6.395 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001624/1.382, allocations: 367.4 kB / 0.8424 GB, free: 6.035 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/1.384, allocations: 0.6487 MB / 0.843 GB, free: 5.383 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002985/1.384, allocations: 47.92 kB / 0.8431 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004049/1.388, allocations: 3.682 MB / 0.8467 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/1.388, allocations: 15.92 kB / 0.8467 GB, free: 1.512 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01196/1.4, allocations: 7.665 MB / 0.8542 GB, free: 9.555 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001512/1.402, allocations: 305.7 kB / 0.8544 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009489/1.403, allocations: 41.02 kB / 0.8545 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001851/1.405, allocations: 135.2 kB / 0.8546 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003771/1.405, allocations: 129.1 kB / 0.8547 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001964/1.405, allocations: 67.98 kB / 0.8548 GB, free: 8.875 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003774/1.409, allocations: 1.603 MB / 0.8564 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/1.409, allocations: 0 / 0.8564 GB, free: 7.262 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005594/1.415, allocations: 0.9406 MB / 0.8573 GB, free: 6.324 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01258/1.427, allocations: 10.1 MB / 0.8671 GB, free: 12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008595/1.436, allocations: 5.306 MB / 0.8723 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/1.436, allocations: 0 / 0.8723 GB, free: 6.703 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/1.439, allocations: 2.022 MB / 0.8743 GB, free: 4.672 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/1.441, allocations: 318.6 kB / 0.8746 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3713/1.812, allocations: 97.48 MB / 0.9698 GB, free: 97.11 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004183/1.817, allocations: 3.247 MB / 0.973 GB, free: 96.33 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.00506/1.822, allocations: 1.954 MB / 0.9749 GB, free: 96.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003277/1.825, allocations: 1.706 MB / 0.9765 GB, free: 96.3 MB / 0.5573 GB Notification: Performance of SimCode: time 9.488e-06/1.825, allocations: 0 / 0.9765 GB, free: 96.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/1.945, allocations: 63.78 MB / 1.039 GB, free: 86.43 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/1.946, allocations: 191.5 kB / 1.039 GB, free: 86.19 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.159/6.105, allocations: 4 kB / 1.039 GB, free: 86.19 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat