Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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.001759/0.001759, allocations: 183.1 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.708/1.708, 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.0008621/0.0008619, allocations: 83.84 kB / 267.1 MB, free: 9.266 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.423/0.423, allocations: 43.47 MB / 358.6 MB, free: 51.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.472e-05, allocations: 4 kB / 425.4 MB, free: 8.086 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.149, allocations: 58.85 MB / 484.3 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4769/0.626, allocations: 107 MB / 0.5774 GB, free: 14.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.6264, allocations: 75.23 kB / 0.5774 GB, free: 14.79 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7508/1.377, allocations: 131.6 MB / 0.706 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.635e-06/1.377, allocations: 0 / 0.706 GB, free: 80.86 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003903/1.378, allocations: 126.5 kB / 0.7061 GB, free: 80.85 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.0259/1.404, allocations: 6.376 MB / 0.7123 GB, free: 78.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/1.404, allocations: 9.562 kB / 0.7124 GB, free: 78.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005372/1.409, allocations: 1.18 MB / 0.7135 GB, free: 78.31 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02892/1.438, allocations: 7.107 MB / 0.7204 GB, free: 77.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02093/1.459, allocations: 7.262 MB / 0.7275 GB, free: 77.06 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006638/1.46, allocations: 0.4912 MB / 0.728 GB, free: 77.05 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003911/1.464, allocations: 0.6588 MB / 0.7287 GB, free: 77.04 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04274/1.506, allocations: 16.45 MB / 0.7447 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003132/1.507, allocations: 80.38 kB / 0.7448 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001252/1.508, allocations: 314.6 kB / 0.7451 GB, free: 73.82 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002906/1.511, allocations: 1.576 MB / 0.7466 GB, free: 73.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03202/1.543, allocations: 13.91 MB / 0.7602 GB, free: 73.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09049/1.634, allocations: 66.32 MB / 0.825 GB, free: 43.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01655/1.65, allocations: 6.984 MB / 0.8318 GB, free: 41.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005465/1.656, allocations: 4.181 MB / 0.8359 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02554/1.681, allocations: 15.05 MB / 0.8506 GB, free: 31.03 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.681, allocations: 68.03 kB / 0.8507 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=306): time 7.354e-06/1.681, allocations: 0 / 0.8507 GB, free: 30.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=348): time 0.07857/1.76, allocations: 26.06 MB / 0.8761 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001568/1.76, allocations: 214.2 kB / 0.8763 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01025/1.77, allocations: 4.676 MB / 0.8809 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001156/1.772, allocations: 77.7 kB / 0.8809 GB, free: 4.832 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00415/1.776, allocations: 4.414 MB / 0.8853 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.4058/2.182, allocations: 1.273 MB / 0.8865 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001929/2.184, allocations: 169.1 kB / 0.8867 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006869/2.184, allocations: 0.6508 MB / 0.8873 GB, free: 91.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007773/2.192, allocations: 3.545 MB / 0.8908 GB, free: 91.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0106/2.203, allocations: 8.006 MB / 0.8986 GB, free: 85.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.214, allocations: 5.269 MB / 0.9037 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002641/2.214, allocations: 45.41 kB / 0.9038 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02961/2.243, allocations: 12.92 MB / 0.9164 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006047/2.244, allocations: 71.16 kB / 0.9165 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006281/2.245, allocations: 158.1 kB / 0.9166 GB, free: 84.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/2.25, allocations: 1.665 MB / 0.9182 GB, free: 84.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009199/2.259, allocations: 1.937 MB / 0.9201 GB, free: 84.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01722/2.277, allocations: 11.33 MB / 0.9312 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008751/2.285, allocations: 0.4904 MB / 0.9317 GB, free: 82.03 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00289/2.288, allocations: 489.5 kB / 0.9321 GB, free: 82.03 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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 (999): * Single equations (assignments): 994 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005287/2.294, allocations: 0.7144 MB / 0.9328 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002402/2.296, allocations: 0.5029 MB / 0.9333 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/2.317, allocations: 7.362 MB / 0.9405 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/2.318, allocations: 40.59 kB / 0.9405 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.542e-05/2.318, allocations: 11.5 kB / 0.9406 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001055/2.318, allocations: 15.56 kB / 0.9406 GB, free: 81.42 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04349/2.361, allocations: 16.01 MB / 0.9562 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.96e-05/2.361, allocations: 0 / 0.9562 GB, free: 75.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003636/2.365, allocations: 0.6034 MB / 0.9568 GB, free: 75.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004276/2.369, allocations: 1.422 MB / 0.9582 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001096/2.371, allocations: 64.19 kB / 0.9582 GB, free: 75.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01348/2.384, allocations: 10.53 MB / 0.9685 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/2.384, allocations: 0 / 0.9685 GB, free: 69.91 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02176/2.406, allocations: 11.89 MB / 0.9801 GB, free: 65.23 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004983/2.411, allocations: 1.104 MB / 0.9812 GB, free: 64.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002518/2.414, allocations: 54.25 kB / 0.9813 GB, free: 64.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004588/2.418, allocations: 269.4 kB / 0.9815 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001384/2.42, allocations: 194 kB / 0.9817 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000826/2.42, allocations: 86.09 kB / 0.9818 GB, free: 64.49 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007904/2.428, allocations: 3.291 MB / 0.985 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7.61e-07/2.428, allocations: 0 / 0.985 GB, free: 63.36 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0114/2.44, allocations: 1.61 MB / 0.9866 GB, free: 63.18 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02315/2.463, allocations: 12.75 MB / 0.999 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01828/2.481, allocations: 8.837 MB / 1.008 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/2.481, allocations: 0 / 1.008 GB, free: 52.79 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007578/2.489, allocations: 3.729 MB / 1.011 GB, free: 49.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005374/2.494, allocations: 0.6234 MB / 1.012 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05344/2.548, allocations: 15.13 MB / 1.027 GB, free: 35.81 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01233/2.56, allocations: 4.941 MB / 1.032 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01068/2.571, allocations: 2.678 MB / 1.034 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008018/2.579, allocations: 3.06 MB / 1.037 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of SimCode: time 2.154e-06/2.579, allocations: 0 / 1.037 GB, free: 27.59 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5759/3.155, allocations: 123.5 MB / 1.158 GB, free: 77.65 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/3.155, allocations: 185.5 kB / 1.158 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.509/9.665, allocations: 0 / 1.158 GB, free: 77.42 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat