Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001126/0.001126, allocations: 99.09 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 205.7 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2636/0.2636, allocations: 45.92 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003053/0.0003053, allocations: 11.98 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1692, allocations: 63.45 MB / 481.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4028/0.5721, allocations: 76.43 MB / 0.5449 GB, free: 320 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0478/0.6199, allocations: 17.17 MB / 0.5616 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02568/0.6456, allocations: 385.2 kB / 0.562 GB, free: 4.098 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01504/0.6607, allocations: 3.86 MB / 0.5658 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03979/0.7005, allocations: 10.9 MB / 0.5764 GB, free: 6.102 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00579/0.7064, allocations: 0.8778 MB / 0.5773 GB, free: 5.223 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.06902/0.7754, allocations: 49.09 MB / 0.6252 GB, free: 4.082 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.7875, allocations: 7.26 MB / 0.6323 GB, free: 12.74 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/0.7912, allocations: 1.549 MB / 0.6338 GB, free: 11.19 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003844/0.7951, allocations: 2.044 MB / 0.6358 GB, free: 9.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001182/0.7963, allocations: 212 kB / 0.636 GB, free: 8.93 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002757/0.7991, allocations: 0.9754 MB / 0.637 GB, free: 7.953 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002862/0.802, allocations: 2.466 MB / 0.6394 GB, free: 5.48 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001903/0.8039, allocations: 1.255 MB / 0.6406 GB, free: 4.215 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009952/0.8139, allocations: 8.314 MB / 0.6487 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.8139, allocations: 0 / 0.6487 GB, free: 11.88 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8139, allocations: 0 / 0.6487 GB, free: 11.88 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000389/0.8143, allocations: 3.938 kB / 0.6487 GB, free: 11.88 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.01759/0.8319, allocations: 6.716 MB / 0.6553 GB, free: 5.078 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.832, allocations: 16.02 kB / 0.6553 GB, free: 5.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003135/0.8351, allocations: 1.042 MB / 0.6563 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04352/0.8786, allocations: 8.206 MB / 0.6643 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01001/0.8887, allocations: 4.352 MB / 0.6686 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002828/0.889, allocations: 365.3 kB / 0.6689 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001469/0.8905, allocations: 491.6 kB / 0.6694 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02807/0.9185, allocations: 15.12 MB / 0.6842 GB, free: 6.395 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001981/0.9188, allocations: 71.45 kB / 0.6842 GB, free: 6.324 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008058/0.9196, allocations: 231.8 kB / 0.6845 GB, free: 6.098 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004796/0.9244, allocations: 2.863 MB / 0.6873 GB, free: 3.227 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0264/0.9508, allocations: 12.76 MB / 0.6997 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3437/1.295, allocations: 58.85 MB / 0.7572 GB, free: 143.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01691/1.312, allocations: 7.386 MB / 0.7644 GB, free: 139.4 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01343/1.325, allocations: 8.861 MB / 0.7731 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/1.325, allocations: 64.34 kB / 0.7731 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 4.298e-06/1.325, allocations: 0 / 0.7731 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.07256/1.398, allocations: 32.18 MB / 0.8046 GB, free: 100.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/1.398, allocations: 239.6 kB / 0.8048 GB, free: 99.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008209/1.406, allocations: 6.929 MB / 0.8115 GB, free: 93.05 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0007217/1.407, allocations: 70.8 kB / 0.8116 GB, free: 92.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002379/1.409, allocations: 4.518 MB / 0.816 GB, free: 88.47 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/1.41, allocations: 1.095 MB / 0.8171 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004898/1.411, allocations: 168 kB / 0.8173 GB, free: 87.22 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003107/1.411, allocations: 0.6655 MB / 0.8179 GB, free: 86.54 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004164/1.415, allocations: 3.378 MB / 0.8212 GB, free: 83.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006861/1.422, allocations: 8.352 MB / 0.8294 GB, free: 72.32 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007051/1.429, allocations: 5.2 MB / 0.8344 GB, free: 67.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001323/1.43, allocations: 52 kB / 0.8345 GB, free: 67.07 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1106) (initialization): time 0.0226/1.452, allocations: 13.04 MB / 0.8472 GB, free: 54.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.452, allocations: 83.95 kB / 0.8473 GB, free: 53.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001744/1.452, allocations: 176 kB / 0.8475 GB, free: 53.76 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004104/1.457, allocations: 1.774 MB / 0.8492 GB, free: 51.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006801/1.463, allocations: 1.973 MB / 0.8511 GB, free: 50 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01267/1.476, allocations: 12.2 MB / 0.863 GB, free: 37.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006987/1.483, allocations: 491.2 kB / 0.8635 GB, free: 37.06 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/1.485, allocations: 0.5128 MB / 0.864 GB, free: 36.55 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 802 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1026): * Single equations (assignments): 1019 * Array equations: 5 * 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%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006016/1.491, allocations: 3.028 MB / 0.867 GB, free: 33.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001191/1.492, allocations: 0.5668 MB / 0.8675 GB, free: 32.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009856/1.502, allocations: 6.472 MB / 0.8739 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.439e-05/1.502, allocations: 37.36 kB / 0.8739 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.281e-05/1.502, allocations: 12 kB / 0.8739 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.256e-05/1.502, allocations: 16.42 kB / 0.8739 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03015/1.533, allocations: 14.54 MB / 0.8881 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.198e-05/1.533, allocations: 4 kB / 0.8881 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002315/1.535, allocations: 495.2 kB / 0.8886 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003602/1.539, allocations: 1.511 MB / 0.8901 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003313/1.539, allocations: 55.94 kB / 0.8901 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01312/1.552, allocations: 11.4 MB / 0.9013 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.552, allocations: 7.953 kB / 0.9013 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01779/1.57, allocations: 11.35 MB / 0.9123 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.572, allocations: 0.6574 MB / 0.913 GB, free: 1.758 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001701/1.574, allocations: 53.25 kB / 0.913 GB, free: 1.707 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.577, allocations: 195.7 kB / 0.9132 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007876/1.578, allocations: 181.6 kB / 0.9134 GB, free: 1.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/1.578, allocations: 72.62 kB / 0.9135 GB, free: 1.27 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.2563/1.835, allocations: 4.47 MB / 0.9178 GB, free: 181.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.22e-07/1.835, allocations: 0.625 kB / 0.9178 GB, free: 181.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008098/1.843, allocations: 1.579 MB / 0.9194 GB, free: 181.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (232): * Single equations (assignments): 227 * 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%) 17,(4,75.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01812/1.861, allocations: 12.75 MB / 0.9318 GB, free: 176.6 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01604/1.877, allocations: 8.31 MB / 0.9399 GB, free: 173.6 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.877, allocations: 0 / 0.9399 GB, free: 173.6 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005711/1.883, allocations: 3.294 MB / 0.9432 GB, free: 172.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0055/1.888, allocations: 0.6878 MB / 0.9438 GB, free: 172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06642/1.955, allocations: 154.5 MB / 1.095 GB, free: 18.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005822/1.961, allocations: 4.761 MB / 1.099 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006718/1.967, allocations: 2.819 MB / 1.102 GB, free: 11.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004437/1.972, allocations: 3.01 MB / 1.105 GB, free: 8.555 MB / 0.545 GB Notification: Performance of SimCode: time 1.372e-06/1.972, allocations: 0 / 1.105 GB, free: 8.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.405/2.377, allocations: 125.6 MB / 1.228 GB, free: 115.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/2.377, allocations: 186.6 kB / 1.228 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.608/7.985, allocations: 3.938 kB / 1.228 GB, free: 114.8 MB / 0.5606 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat