Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001573/0.001573, allocations: 199.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008779/0.0008779, allocations: 97.55 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2312/0.2312, allocations: 45.15 MB / 383.8 MB, free: 272 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.695e-05, allocations: 4 kB / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 63.25 MB / 0.5045 GB, free: 12.53 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5367, allocations: 107.7 MB / 0.6096 GB, free: 10.79 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5369, allocations: 69.91 kB / 0.6097 GB, free: 10.75 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.297/0.8339, allocations: 119.7 MB / 0.7265 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/0.834, allocations: 0 / 0.7265 GB, free: 11.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0004825/0.8345, allocations: 120 kB / 0.7267 GB, free: 11.18 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2101 * Number of variables: 2101 Notification: Performance of Generate backend data structure: time 0.02172/0.8562, allocations: 5.957 MB / 0.7325 GB, free: 5.145 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.8563, allocations: 8.031 kB / 0.7325 GB, free: 5.137 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02913/0.8854, allocations: 6.969 MB / 0.7393 GB, free: 14.15 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01709/0.9026, allocations: 6.02 MB / 0.7452 GB, free: 8.066 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.903, allocations: 196 kB / 0.7453 GB, free: 7.875 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002895/0.9059, allocations: 359.8 kB / 0.7457 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3145/1.22, allocations: 8.526 MB / 0.754 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0259/1.246, allocations: 12.73 MB / 0.7665 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/1.247, allocations: 78 kB / 0.7665 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009112/1.248, allocations: 36.55 kB / 0.7666 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002218/1.25, allocations: 1.369 MB / 0.7679 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06537/1.315, allocations: 59.08 MB / 0.8256 GB, free: 79.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/1.321, allocations: 5.084 MB / 0.8306 GB, free: 76.62 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003564/1.325, allocations: 3.469 MB / 0.834 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004946/1.325, allocations: 0.5466 MB / 0.8345 GB, free: 74.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.445e-05/1.325, allocations: 61.88 kB / 0.8345 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=237): time 4.909e-06/1.325, allocations: 3.875 kB / 0.8345 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=281): time 0.04575/1.371, allocations: 25.64 MB / 0.8596 GB, free: 65.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.48e-05/1.371, allocations: 213 kB / 0.8598 GB, free: 65.14 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005861/1.377, allocations: 3.648 MB / 0.8634 GB, free: 63.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008386/1.378, allocations: 25.7 kB / 0.8634 GB, free: 63.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00248/1.381, allocations: 4.071 MB / 0.8674 GB, free: 60.74 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/1.382, allocations: 1.017 MB / 0.8683 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/1.382, allocations: 0 / 0.8683 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003348/1.383, allocations: 0.6181 MB / 0.8689 GB, free: 59.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003281/1.386, allocations: 2.913 MB / 0.8718 GB, free: 58.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004656/1.39, allocations: 7.108 MB / 0.8787 GB, free: 51.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00523/1.396, allocations: 4.498 MB / 0.8831 GB, free: 50.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-05/1.396, allocations: 40.56 kB / 0.8832 GB, free: 50.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=971) (initialization): time 0.01872/1.415, allocations: 10.6 MB / 0.8935 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/1.415, allocations: 68 kB / 0.8936 GB, free: 41.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000219/1.415, allocations: 151.4 kB / 0.8937 GB, free: 40.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/1.419, allocations: 1.689 MB / 0.8954 GB, free: 39.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005943/1.425, allocations: 1.727 MB / 0.8971 GB, free: 38.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01243/1.437, allocations: 10.87 MB / 0.9077 GB, free: 28.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007351/1.445, allocations: 293.6 kB / 0.908 GB, free: 28.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00209/1.447, allocations: 446.8 kB / 0.9084 GB, free: 27.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 (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.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,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 (899): * Single equations (assignments): 894 * 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%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002645/1.45, allocations: 0.4999 MB / 0.9089 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01051/1.46, allocations: 6.015 MB / 0.9148 GB, free: 22.41 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.461, allocations: 418.1 kB / 0.9151 GB, free: 22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009641/1.471, allocations: 5.894 MB / 0.9209 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/1.471, allocations: 35.91 kB / 0.9209 GB, free: 17.26 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/1.471, allocations: 8 kB / 0.9209 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.017e-05/1.471, allocations: 18.25 kB / 0.921 GB, free: 17.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02363/1.495, allocations: 12.63 MB / 0.9333 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.438e-05/1.495, allocations: 0 / 0.9333 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002349/1.497, allocations: 471.3 kB / 0.9337 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003447/1.501, allocations: 1.406 MB / 0.9351 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004561/1.501, allocations: 8 kB / 0.9351 GB, free: 5.719 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/1.514, allocations: 9.955 MB / 0.9448 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.514, allocations: 3.953 kB / 0.9449 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01629/1.53, allocations: 9.813 MB / 0.9544 GB, free: 3.062 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/1.531, allocations: 447.6 kB / 0.9549 GB, free: 2.602 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001373/1.533, allocations: 4 kB / 0.9549 GB, free: 2.598 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.536, allocations: 163.7 kB / 0.955 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000697/1.537, allocations: 165.7 kB / 0.9552 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003806/1.537, allocations: 68 kB / 0.9552 GB, free: 2.207 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.3397/1.877, allocations: 2.436 MB / 0.9576 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.342e-06/1.877, allocations: 0.5938 kB / 0.9576 GB, free: 119.2 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008787/1.885, allocations: 1.237 MB / 0.9588 GB, free: 119.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (223): * Single equations (assignments): 218 * 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.01588/1.901, allocations: 10.77 MB / 0.9693 GB, free: 117.6 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01271/1.914, allocations: 7.445 MB / 0.9766 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/1.914, allocations: 0 / 0.9766 GB, free: 117.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.005179/1.919, allocations: 2.993 MB / 0.9795 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/1.923, allocations: 0.4917 MB / 0.98 GB, free: 117.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02615/1.949, allocations: 13.03 MB / 0.9927 GB, free: 114.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004458/1.953, allocations: 4.493 MB / 0.9971 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005545/1.959, allocations: 2.417 MB / 0.9995 GB, free: 114 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003235/1.962, allocations: 2.727 MB / 1.002 GB, free: 114 MB / 0.5417 GB Notification: Performance of SimCode: time 6.42e-07/1.962, allocations: 0 / 1.002 GB, free: 114 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/2.124, allocations: 101.2 MB / 1.101 GB, free: 54.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/2.125, allocations: 144.8 kB / 1.101 GB, free: 53.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.675/6.8, allocations: 0 / 1.101 GB, free: 53.84 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat does not exist to compare? outputFormat=mat