Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001415/0.001415, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.257/1.257, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000878/0.0008779, allocations: 104.4 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1782/0.1782, allocations: 45.13 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.56e-05/3.568e-05, allocations: 4 kB / 460.5 MB, free: 69.92 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1037, allocations: 63.25 MB / 0.5115 GB, free: 6.691 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.402/0.5058, allocations: 109.9 MB / 0.6188 GB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.5061, allocations: 74.97 kB / 0.6189 GB, free: 176 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6146/1.121, allocations: 145.2 MB / 0.7606 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.653e-06/1.121, allocations: 1.219 kB / 0.7606 GB, free: 104.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008582/1.122, allocations: 140.5 kB / 0.7608 GB, free: 104.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.0277/1.149, allocations: 6.963 MB / 0.7676 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.149, allocations: 17.02 kB / 0.7676 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00447/1.154, allocations: 1.216 MB / 0.7688 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03579/1.19, allocations: 9.504 MB / 0.7781 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01805/1.208, allocations: 7.621 MB / 0.7855 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/1.208, allocations: 0.5225 MB / 0.786 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003437/1.212, allocations: 0.7041 MB / 0.7867 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03468/1.246, allocations: 16.52 MB / 0.8028 GB, free: 96.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004048/1.247, allocations: 102.2 kB / 0.8029 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001767/1.249, allocations: 336.6 kB / 0.8032 GB, free: 96.04 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001605/1.25, allocations: 1.497 MB / 0.8047 GB, free: 96.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02368/1.274, allocations: 13 MB / 0.8174 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06835/1.342, allocations: 75.41 MB / 0.891 GB, free: 39.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/1.356, allocations: 6.287 MB / 0.8972 GB, free: 34.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003667/1.36, allocations: 3.466 MB / 0.9006 GB, free: 31.36 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/1.36, allocations: 44.23 kB / 0.9006 GB, free: 31.33 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/1.36, allocations: 63.28 kB / 0.9007 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=229): time 5.35e-06/1.36, allocations: 0 / 0.9007 GB, free: 31.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=262): time 0.05288/1.413, allocations: 24.12 MB / 0.9242 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.607e-05/1.413, allocations: 282.9 kB / 0.9245 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008463/1.421, allocations: 6.237 MB / 0.9306 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000515/1.422, allocations: 65.7 kB / 0.9307 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002317/1.424, allocations: 5 MB / 0.9355 GB, free: 108 kB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001201/1.426, allocations: 1.013 MB / 0.9365 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003597/1.426, allocations: 171.8 kB / 0.9367 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0004664/1.426, allocations: 0.6652 MB / 0.9373 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004475/1.431, allocations: 3.022 MB / 0.9403 GB, free: 11.76 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008141/1.439, allocations: 8.264 MB / 0.9484 GB, free: 1.336 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00873/1.448, allocations: 5.029 MB / 0.9533 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001104/1.448, allocations: 59.94 kB / 0.9533 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02372/1.472, allocations: 12.15 MB / 0.9652 GB, free: 2.43 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.472, allocations: 84.94 kB / 0.9653 GB, free: 2.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/1.472, allocations: 188 kB / 0.9655 GB, free: 2.164 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003189/1.475, allocations: 1.354 MB / 0.9668 GB, free: 0.8008 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3174/1.793, allocations: 1.965 MB / 0.9687 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/1.806, allocations: 11.23 MB / 0.9797 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007636/1.814, allocations: 475.1 kB / 0.9801 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001934/1.816, allocations: 0.5188 MB / 0.9806 GB, free: 116 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1043): * Single equations (assignments): 1037 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001412/1.817, allocations: 0.7831 MB / 0.9814 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001398/1.819, allocations: 0.5962 MB / 0.982 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009736/1.828, allocations: 5.237 MB / 0.9871 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.738e-05/1.828, allocations: 32.12 kB / 0.9871 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-05/1.828, allocations: 8.812 kB / 0.9871 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.65e-05/1.828, allocations: 15.41 kB / 0.9871 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/1.848, allocations: 12.89 MB / 0.9997 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/1.848, allocations: 0.6875 kB / 0.9997 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001826/1.849, allocations: 428.1 kB / 1 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002342/1.852, allocations: 1.045 MB / 1.001 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002123/1.852, allocations: 45.58 kB / 1.001 GB, free: 114.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/1.863, allocations: 10.2 MB / 1.011 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.863, allocations: 6 kB / 1.011 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.876, allocations: 8.963 MB / 1.02 GB, free: 109.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/1.878, allocations: 0.6555 MB / 1.021 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007871/1.878, allocations: 42.12 kB / 1.021 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002166/1.881, allocations: 160.5 kB / 1.021 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003903/1.881, allocations: 147.7 kB / 1.021 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001767/1.881, allocations: 68.25 kB / 1.021 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006508/1.888, allocations: 4.425 MB / 1.025 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.02e-07/1.888, allocations: 0 / 1.025 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009399/1.897, allocations: 1.598 MB / 1.027 GB, free: 107.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 198 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01274/1.91, allocations: 9.858 MB / 1.036 GB, free: 103 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01151/1.921, allocations: 7.688 MB / 1.044 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.921, allocations: 0 / 1.044 GB, free: 100.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003725/1.925, allocations: 2.749 MB / 1.047 GB, free: 99.41 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/1.93, allocations: 0.8027 MB / 1.047 GB, free: 99.09 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03538/1.965, allocations: 14.94 MB / 1.062 GB, free: 93.92 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009825/1.975, allocations: 5.159 MB / 1.067 GB, free: 92.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009351/1.985, allocations: 2.827 MB / 1.07 GB, free: 92.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006819/1.991, allocations: 3.308 MB / 1.073 GB, free: 88.97 MB / 0.5573 GB Notification: Performance of SimCode: time 1.223e-06/1.991, allocations: 0 / 1.073 GB, free: 88.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4544/2.446, allocations: 130 MB / 1.2 GB, free: 113.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001462/2.446, allocations: 174.8 kB / 1.2 GB, free: 113.7 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.665/8.111, allocations: 1.5 kB / 1.2 GB, free: 113.7 MB / 0.573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat