Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002891/0.002891, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001334/0.001333, allocations: 96.98 kB / 297.2 MB, free: 6.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4964/0.4964, allocations: 45.23 MB / 394.7 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003975/0.0003974, allocations: 4.219 kB / 468.5 MB, free: 7.652 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4925/0.4929, allocations: 63.25 MB / 0.5193 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1747/0.6677, allocations: 108 MB / 0.6248 GB, free: 13.59 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.668, allocations: 87.92 kB / 0.6248 GB, free: 13.5 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7552/1.423, allocations: 136 MB / 0.7577 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.494e-06/1.423, allocations: 0 / 0.7577 GB, free: 92.4 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0008238/1.424, allocations: 131.9 kB / 0.7578 GB, free: 92.39 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.03889/1.463, allocations: 7.012 MB / 0.7646 GB, free: 89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.983e-05/1.463, allocations: 9.906 kB / 0.7647 GB, free: 89 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007909/1.471, allocations: 1.115 MB / 0.7657 GB, free: 88.46 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05775/1.529, allocations: 9.423 MB / 0.7749 GB, free: 87.03 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03335/1.562, allocations: 7.382 MB / 0.7822 GB, free: 83.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008479/1.563, allocations: 487.3 kB / 0.7826 GB, free: 83.36 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004799/1.568, allocations: 0.642 MB / 0.7832 GB, free: 83.17 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05619/1.624, allocations: 15.23 MB / 0.7981 GB, free: 72.71 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007946/1.625, allocations: 100.2 kB / 0.7982 GB, free: 72.65 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004418/1.63, allocations: 312 kB / 0.7985 GB, free: 72.47 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002959/1.633, allocations: 1.343 MB / 0.7998 GB, free: 72.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03697/1.67, allocations: 12 MB / 0.8115 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08793/1.758, allocations: 67.56 MB / 0.8775 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/1.771, allocations: 5.282 MB / 0.8827 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001537/1.771, allocations: 43.44 kB / 0.8827 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.748e-05/1.772, allocations: 55.5 kB / 0.8828 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 7.003e-06/1.772, allocations: 0 / 0.8828 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.4156/2.187, allocations: 19.88 MB / 0.9022 GB, free: 114.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/2.187, allocations: 252.7 kB / 0.9024 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/2.202, allocations: 5.98 MB / 0.9083 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005572/2.203, allocations: 57.33 kB / 0.9083 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004018/2.207, allocations: 4.676 MB / 0.9129 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001273/2.208, allocations: 0.8242 MB / 0.9137 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006526/2.209, allocations: 155.7 kB / 0.9138 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004178/2.209, allocations: 0.6434 MB / 0.9145 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/2.213, allocations: 2.456 MB / 0.9169 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006648/2.22, allocations: 7.388 MB / 0.9241 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007013/2.227, allocations: 4.181 MB / 0.9282 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000235/2.227, allocations: 49.97 kB / 0.9282 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02398/2.251, allocations: 10.15 MB / 0.9381 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006122/2.252, allocations: 79.94 kB / 0.9382 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008012/2.253, allocations: 180.3 kB / 0.9384 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/2.255, allocations: 0.7984 MB / 0.9391 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007742/2.263, allocations: 1.75 MB / 0.9409 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/2.275, allocations: 8.426 MB / 0.9491 GB, free: 95.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.285, allocations: 409.7 kB / 0.9495 GB, free: 95.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003043/2.288, allocations: 490.6 kB / 0.9499 GB, free: 95.66 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 946 * 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%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01075/2.299, allocations: 3.055 MB / 0.9529 GB, free: 94.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002028/2.301, allocations: 0.5551 MB / 0.9535 GB, free: 93.95 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007687/2.308, allocations: 3.389 MB / 0.9568 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/2.309, allocations: 23.25 kB / 0.9568 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.473e-05/2.309, allocations: 7.781 kB / 0.9568 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.581e-05/2.309, allocations: 8.672 kB / 0.9568 GB, free: 92.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02261/2.331, allocations: 9.563 MB / 0.9662 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/2.331, allocations: 0 / 0.9662 GB, free: 89.07 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001403/2.333, allocations: 287.7 kB / 0.9664 GB, free: 89.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001413/2.334, allocations: 0.5028 MB / 0.9669 GB, free: 88.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001592/2.334, allocations: 39.27 kB / 0.967 GB, free: 88.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007048/2.341, allocations: 7.541 MB / 0.9743 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/2.341, allocations: 3.938 kB / 0.9743 GB, free: 83.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009007/2.35, allocations: 6.229 MB / 0.9804 GB, free: 80.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002393/2.353, allocations: 0.6151 MB / 0.981 GB, free: 80.09 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/2.354, allocations: 37.95 kB / 0.981 GB, free: 80.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002211/2.356, allocations: 108.7 kB / 0.9811 GB, free: 80.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003914/2.357, allocations: 116.4 kB / 0.9813 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/2.357, allocations: 53.05 kB / 0.9813 GB, free: 80 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008997/2.366, allocations: 4.27 MB / 0.9855 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/2.366, allocations: 0 / 0.9855 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01057/2.376, allocations: 1.392 MB / 0.9868 GB, free: 78.43 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009504/2.386, allocations: 7.077 MB / 0.9937 GB, free: 74.92 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01186/2.398, allocations: 6.253 MB / 0.9999 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/2.398, allocations: 0 / 0.9999 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002848/2.401, allocations: 1.966 MB / 1.002 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/2.406, allocations: 0.7503 MB / 1.003 GB, free: 71.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4603/2.867, allocations: 176.9 MB / 1.175 GB, free: 78.61 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008858/2.876, allocations: 4.77 MB / 1.18 GB, free: 77.76 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.008563/2.884, allocations: 2.534 MB / 1.182 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005972/2.89, allocations: 3.035 MB / 1.185 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of SimCode: time 2.965e-06/2.89, allocations: 0.75 kB / 1.185 GB, free: 77.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1915/3.082, allocations: 115.6 MB / 1.298 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/3.082, allocations: 202.8 kB / 1.298 GB, free: 5.641 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/9.513, allocations: 0 / 1.298 GB, free: 5.641 MB / 0.5573 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat