Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001346, allocations: 199 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 227.2 MB / 245 MB, free: 7.5 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009787/0.0009786, allocations: 103.8 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4348/0.4348, allocations: 45.22 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002917/0.0002916, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4232, allocations: 63.25 MB / 0.5193 GB, free: 43.69 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1603/0.5835, allocations: 111.7 MB / 0.6284 GB, free: 9.891 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5839, allocations: 81.75 kB / 0.6284 GB, free: 9.816 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8849/1.469, allocations: 210.5 MB / 0.834 GB, free: 39.92 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.985e-06/1.469, allocations: 7.984 kB / 0.834 GB, free: 39.91 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007213/1.47, allocations: 216 kB / 0.8342 GB, free: 39.7 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: 3739 * Number of variables: 3739 Notification: Performance of Generate backend data structure: time 0.04523/1.515, allocations: 11.6 MB / 0.8455 GB, free: 28 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.702e-05/1.515, allocations: 12.03 kB / 0.8455 GB, free: 27.99 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01027/1.525, allocations: 1.866 MB / 0.8473 GB, free: 26.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05813/1.583, allocations: 12.43 MB / 0.8595 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03006/1.613, allocations: 10.63 MB / 0.8699 GB, free: 2.945 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007847/1.614, allocations: 0.8223 MB / 0.8707 GB, free: 2.121 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006434/1.621, allocations: 1.093 MB / 0.8717 GB, free: 1.027 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07365/1.694, allocations: 25.93 MB / 0.897 GB, free: 5.172 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001078/1.696, allocations: 130.8 kB / 0.8972 GB, free: 5.043 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006697/1.702, allocations: 0.5076 MB / 0.8977 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004742/1.707, allocations: 2.345 MB / 0.9 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4302/2.137, allocations: 21.29 MB / 0.9207 GB, free: 74.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/2.291, allocations: 108.5 MB / 1.027 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03532/2.326, allocations: 12.43 MB / 1.039 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002582/2.329, allocations: 2.329 MB / 1.041 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/2.329, allocations: 85.36 kB / 1.041 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=443): time 8.085e-06/2.329, allocations: 0 / 1.041 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of matching and sorting (n=527): time 0.185/2.514, allocations: 57.43 MB / 1.097 GB, free: 1.941 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001979/2.514, allocations: 317 kB / 1.098 GB, free: 1.566 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03756/2.552, allocations: 9.715 MB / 1.107 GB, free: 12.69 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001811/2.554, allocations: 105.7 kB / 1.107 GB, free: 12.58 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01042/2.564, allocations: 7.125 MB / 1.114 GB, free: 5.492 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005529/2.57, allocations: 1.943 MB / 1.116 GB, free: 3.566 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003426/2.573, allocations: 256 kB / 1.116 GB, free: 3.316 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.00221/2.575, allocations: 0.8451 MB / 1.117 GB, free: 2.465 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4113/2.987, allocations: 5.583 MB / 1.123 GB, free: 119.9 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01719/3.004, allocations: 12.58 MB / 1.135 GB, free: 110.9 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/3.019, allocations: 8.202 MB / 1.143 GB, free: 110.8 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003255/3.02, allocations: 72.97 kB / 1.143 GB, free: 110.8 MB / 0.573 GB Notification: Performance of matching and sorting (n=1656) (initialization): time 0.05518/3.075, allocations: 20.94 MB / 1.163 GB, free: 109.9 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001089/3.076, allocations: 110.4 kB / 1.163 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001187/3.077, allocations: 245.1 kB / 1.164 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/3.088, allocations: 3.242 MB / 1.167 GB, free: 109.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01528/3.104, allocations: 3.088 MB / 1.17 GB, free: 109.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03078/3.135, allocations: 23.16 MB / 1.192 GB, free: 101.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01816/3.153, allocations: 0.766 MB / 1.193 GB, free: 101 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005186/3.158, allocations: 0.7381 MB / 1.194 GB, free: 100.9 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1116 * Number of states: 0 () * Number of discrete variables: 120 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueArrow.arrowLine.twoHeadedArrow,torque4.torqueArrow.headAtOrigin,torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceArrow.arrowLine.twoHeadedArrow,torque4.forceArrow.headAtOrigin,torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueArrow.arrowLine.twoHeadedArrow,torque3.torqueArrow.headAtOrigin,torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceArrow.arrowLine.twoHeadedArrow,torque3.forceArrow.headAtOrigin,torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueArrow.arrowLine.twoHeadedArrow,torque2.torqueArrow.headAtOrigin,torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueArrow.arrowLine.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1536): * Single equations (assignments): 1529 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01928/3.177, allocations: 4.872 MB / 1.199 GB, free: 98.88 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004096/3.182, allocations: 0.8658 MB / 1.2 GB, free: 98.88 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03782/3.219, allocations: 12.35 MB / 1.212 GB, free: 94.43 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001067/3.22, allocations: 60.33 kB / 1.212 GB, free: 94.43 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001274/3.22, allocations: 16.75 kB / 1.212 GB, free: 94.43 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001937/3.22, allocations: 28.34 kB / 1.212 GB, free: 94.43 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07734/3.297, allocations: 27.28 MB / 1.238 GB, free: 84.04 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.57e-05/3.297, allocations: 10.28 kB / 1.238 GB, free: 84.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006328/3.304, allocations: 0.9778 MB / 1.239 GB, free: 83.28 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008689/3.313, allocations: 2.826 MB / 1.242 GB, free: 81.32 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002083/3.315, allocations: 102 kB / 1.242 GB, free: 81.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02689/3.342, allocations: 21.67 MB / 1.263 GB, free: 62.1 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.875e-06/3.342, allocations: 7.891 kB / 1.263 GB, free: 62.1 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03715/3.379, allocations: 20.47 MB / 1.283 GB, free: 44.33 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004668/3.384, allocations: 0.9391 MB / 1.284 GB, free: 43.42 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005072/3.389, allocations: 97.11 kB / 1.284 GB, free: 43.33 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008281/3.397, allocations: 408.6 kB / 1.285 GB, free: 43.07 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002402/3.399, allocations: 324.2 kB / 1.285 GB, free: 42.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00158/3.401, allocations: 138.4 kB / 1.285 GB, free: 42.74 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.01629/3.417, allocations: 6.179 MB / 1.291 GB, free: 37.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.71e-07/3.417, allocations: 4 kB / 1.291 GB, free: 37.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02063/3.438, allocations: 2.619 MB / 1.294 GB, free: 35.1 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 428 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(4,75.0%) 18,(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.04275/3.481, allocations: 21.67 MB / 1.315 GB, free: 15.99 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02918/3.51, allocations: 14.08 MB / 1.329 GB, free: 3.613 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/3.51, allocations: 0 / 1.329 GB, free: 3.613 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.4516/3.962, allocations: 6.101 MB / 1.335 GB, free: 111.9 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/3.973, allocations: 1.18 MB / 1.336 GB, free: 111.8 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7077/4.681, allocations: 280.8 MB / 1.61 GB, free: 186.7 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01766/4.698, allocations: 7.583 MB / 1.617 GB, free: 185.8 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0144/4.713, allocations: 4.218 MB / 1.621 GB, free: 185.7 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01108/4.724, allocations: 5.286 MB / 1.627 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of SimCode: time 2.084e-06/4.724, allocations: 0 / 1.627 GB, free: 185.4 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7358/5.46, allocations: 202.4 MB / 1.824 GB, free: 192 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/5.46, allocations: 201.1 kB / 1.825 GB, free: 191.8 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/16.22, allocations: 0 / 1.825 GB, free: 191.8 MB / 0.6667 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat