Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.00158/0.00158, allocations: 183.4 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.612/1.612, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0008468/0.0008467, allocations: 85.62 kB / 267.1 MB, free: 9.27 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.4595/0.4595, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.254e-05, allocations: 4 kB / 425.4 MB, free: 8.09 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1399/0.1399, allocations: 58.84 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5182/0.6581, allocations: 107.4 MB / 0.5778 GB, free: 14.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.6584, allocations: 72.91 kB / 0.5779 GB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7228/1.381, allocations: 133.6 MB / 0.7083 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.204e-06/1.381, allocations: 1.688 kB / 0.7083 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005129/1.382, allocations: 131.9 kB / 0.7085 GB, free: 80.88 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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.02661/1.408, allocations: 6.438 MB / 0.7148 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/1.409, allocations: 9.406 kB / 0.7148 GB, free: 78.38 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006123/1.415, allocations: 1.204 MB / 0.7159 GB, free: 78.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03101/1.446, allocations: 7.133 MB / 0.7229 GB, free: 77.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02919/1.475, allocations: 7.254 MB / 0.73 GB, free: 77.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009885/1.476, allocations: 0.5014 MB / 0.7305 GB, free: 77.01 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005569/1.482, allocations: 0.671 MB / 0.7311 GB, free: 77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06396/1.546, allocations: 16.61 MB / 0.7474 GB, free: 73.35 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007812/1.546, allocations: 89.78 kB / 0.7474 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004026/1.551, allocations: 322.2 kB / 0.7478 GB, free: 73.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003303/1.554, allocations: 1.567 MB / 0.7493 GB, free: 73.33 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04288/1.597, allocations: 13.78 MB / 0.7627 GB, free: 73.28 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.121/1.718, allocations: 70.26 MB / 0.8314 GB, free: 38.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02941/1.747, allocations: 7.833 MB / 0.839 GB, free: 36.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007395/1.755, allocations: 3.888 MB / 0.8428 GB, free: 34.53 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003083/1.755, allocations: 55.16 kB / 0.8429 GB, free: 34.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/1.755, allocations: 67.19 kB / 0.8429 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=290): time 1.079e-05/1.755, allocations: 0 / 0.8429 GB, free: 34.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332): time 0.1055/1.861, allocations: 28.26 MB / 0.8705 GB, free: 14.53 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/1.861, allocations: 218.1 kB / 0.8707 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008683/1.87, allocations: 5.593 MB / 0.8762 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001067/1.871, allocations: 73.7 kB / 0.8763 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004921/1.876, allocations: 4.606 MB / 0.8808 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002735/1.878, allocations: 1.233 MB / 0.882 GB, free: 4.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006768/1.879, allocations: 175.5 kB / 0.8821 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006844/1.88, allocations: 0.6635 MB / 0.8828 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006397/1.886, allocations: 3.739 MB / 0.8864 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3861/2.272, allocations: 8.542 MB / 0.8948 GB, free: 85.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01104/2.283, allocations: 5.573 MB / 0.9002 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004275/2.284, allocations: 47.94 kB / 0.9003 GB, free: 85.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03598/2.32, allocations: 13.6 MB / 0.9135 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002114/2.32, allocations: 77.16 kB / 0.9136 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003192/2.32, allocations: 171.4 kB / 0.9138 GB, free: 84.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004665/2.325, allocations: 1.685 MB / 0.9154 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/2.336, allocations: 2.097 MB / 0.9175 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/2.352, allocations: 11.35 MB / 0.9285 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01088/2.363, allocations: 0.5304 MB / 0.9291 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003458/2.367, allocations: 0.5019 MB / 0.9296 GB, free: 81.72 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 54 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1050): * Single equations (assignments): 1045 * 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.005574/2.372, allocations: 0.7491 MB / 0.9303 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002219/2.374, allocations: 0.5622 MB / 0.9308 GB, free: 81.44 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/2.392, allocations: 7.427 MB / 0.9381 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.645e-05/2.392, allocations: 39.61 kB / 0.9381 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.931e-05/2.392, allocations: 9.688 kB / 0.9381 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-05/2.392, allocations: 17.81 kB / 0.9382 GB, free: 81.17 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03918/2.432, allocations: 16.26 MB / 0.954 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/2.432, allocations: 4.953 kB / 0.954 GB, free: 76.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004003/2.436, allocations: 0.6539 MB / 0.9547 GB, free: 76.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003745/2.439, allocations: 1.418 MB / 0.9561 GB, free: 75.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007879/2.44, allocations: 62.78 kB / 0.9561 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01279/2.453, allocations: 10.6 MB / 0.9665 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/2.453, allocations: 10.44 kB / 0.9665 GB, free: 70.12 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/2.474, allocations: 12.71 MB / 0.9789 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004772/2.479, allocations: 1.209 MB / 0.9801 GB, free: 64.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002121/2.481, allocations: 56.45 kB / 0.9801 GB, free: 64.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/2.485, allocations: 270.5 kB / 0.9804 GB, free: 63.97 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007844/2.486, allocations: 205.3 kB / 0.9806 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002906/2.486, allocations: 89.44 kB / 0.9807 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008787/2.495, allocations: 3.955 MB / 0.9845 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.92e-07/2.495, allocations: 2.562 kB / 0.9845 GB, free: 62.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0118/2.507, allocations: 1.678 MB / 0.9862 GB, free: 62.35 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.01928/2.526, allocations: 14.06 MB / 0.9999 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01665/2.543, allocations: 9.189 MB / 1.009 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.543, allocations: 0 / 1.009 GB, free: 50.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005959/2.549, allocations: 3.803 MB / 1.013 GB, free: 47.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004657/2.554, allocations: 0.6784 MB / 1.013 GB, free: 46.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.041/2.595, allocations: 15.62 MB / 1.029 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005303/2.6, allocations: 4.986 MB / 1.033 GB, free: 29.62 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007248/2.607, allocations: 2.931 MB / 1.036 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005211/2.613, allocations: 3.178 MB / 1.039 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of SimCode: time 1.423e-06/2.613, allocations: 0 / 1.039 GB, free: 24.77 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5762/3.189, allocations: 129.2 MB / 1.165 GB, free: 75.82 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001802/3.189, allocations: 188.5 kB / 1.166 GB, free: 75.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/10.33, allocations: 7.875 kB / 1.166 GB, free: 75.59 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat does not exist to compare? outputFormat=mat