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/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.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/Complex trunk/package.mo): time 0.001556/0.001557, allocations: 197 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.343/1.343, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008316/0.0008317, allocations: 94.62 kB / 292.1 MB, free: 5.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.184/0.184, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.303e-05/3.304e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 63.24 MB / 0.5115 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5217, allocations: 109.9 MB / 0.6188 GB, free: 252 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.5219, allocations: 78.14 kB / 0.6189 GB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3124/0.8343, allocations: 128.9 MB / 0.7447 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8344, allocations: 0 / 0.7447 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0003753/0.8348, allocations: 135.9 kB / 0.7448 GB, free: 6.973 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: 2219 * Number of variables: 2219 Notification: Performance of Generate backend data structure: time 0.02026/0.855, allocations: 6.452 MB / 0.7511 GB, free: 452 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.8551, allocations: 19.91 kB / 0.7511 GB, free: 432 kB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3074/1.163, allocations: 1.1 MB / 0.7522 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03122/1.194, allocations: 7.061 MB / 0.7591 GB, free: 109.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01852/1.212, allocations: 6.325 MB / 0.7653 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006692/1.213, allocations: 476.4 kB / 0.7657 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00302/1.216, allocations: 0.6262 MB / 0.7664 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03511/1.251, allocations: 15.61 MB / 0.7816 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000355/1.252, allocations: 91.28 kB / 0.7817 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001955/1.254, allocations: 303.1 kB / 0.782 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001812/1.255, allocations: 1.472 MB / 0.7834 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02501/1.28, allocations: 12.58 MB / 0.7957 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08116/1.362, allocations: 70.63 MB / 0.8647 GB, free: 55.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/1.378, allocations: 7.112 MB / 0.8716 GB, free: 53.06 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004064/1.383, allocations: 3.563 MB / 0.8751 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0151/1.398, allocations: 8.793 MB / 0.8837 GB, free: 46.79 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.766e-05/1.398, allocations: 63.81 kB / 0.8837 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=246): time 6.703e-06/1.398, allocations: 0 / 0.8837 GB, free: 46.73 MB / 0.5261 GB Notification: Performance of matching and sorting (n=288): time 0.0705/1.468, allocations: 26.43 MB / 0.9096 GB, free: 25.07 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.468, allocations: 243.5 kB / 0.9098 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01197/1.48, allocations: 5.878 MB / 0.9155 GB, free: 19.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006616/1.481, allocations: 68.05 kB / 0.9156 GB, free: 19.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003154/1.484, allocations: 4.537 MB / 0.92 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001353/1.486, allocations: 1.095 MB / 0.9211 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/1.487, allocations: 168 kB / 0.9213 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008461/1.488, allocations: 0.6605 MB / 0.9219 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005032/1.493, allocations: 3.222 MB / 0.9251 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007368/1.5, allocations: 8.221 MB / 0.9331 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008958/1.509, allocations: 5.162 MB / 0.9381 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002076/1.509, allocations: 48 kB / 0.9382 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02674/1.536, allocations: 12.68 MB / 0.9506 GB, free: 0.5781 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/1.536, allocations: 80.19 kB / 0.9506 GB, free: 0.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002906/1.537, allocations: 180 kB / 0.9508 GB, free: 332 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004511/1.541, allocations: 1.672 MB / 0.9524 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00738/1.549, allocations: 1.996 MB / 0.9544 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01543/1.564, allocations: 11.19 MB / 0.9653 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007232/1.571, allocations: 0.4915 MB / 0.9658 GB, free: 0.7031 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002365/1.574, allocations: 0.5038 MB / 0.9663 GB, free: 204 kB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 67 (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.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1031): * Single equations (assignments): 1026 * 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 {(2,100.0%) 22,(2,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.3188/1.893, allocations: 0.7535 MB / 0.967 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001534/1.894, allocations: 0.5654 MB / 0.9676 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01328/1.908, allocations: 6.219 MB / 0.9736 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.096e-05/1.908, allocations: 32.41 kB / 0.9737 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.312e-05/1.908, allocations: 10.55 kB / 0.9737 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/1.908, allocations: 12.61 kB / 0.9737 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03142/1.939, allocations: 14.17 MB / 0.9875 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/1.939, allocations: 7.453 kB / 0.9875 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/1.942, allocations: 0.53 MB / 0.9881 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003569/1.946, allocations: 1.402 MB / 0.9894 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005743/1.946, allocations: 55.27 kB / 0.9895 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01187/1.958, allocations: 10.41 MB / 0.9996 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/1.958, allocations: 14.02 kB / 0.9997 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.974, allocations: 10.96 MB / 1.01 GB, free: 117.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.976, allocations: 0.6382 MB / 1.011 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001394/1.977, allocations: 50.03 kB / 1.011 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002908/1.98, allocations: 191.7 kB / 1.011 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005881/1.981, allocations: 184.7 kB / 1.011 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002769/1.981, allocations: 74.7 kB / 1.011 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008387/1.989, allocations: 4.19 MB / 1.016 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/1.989, allocations: 0 / 1.016 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009633/1.999, allocations: 1.56 MB / 1.017 GB, free: 116.5 MB / 0.5573 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 () * 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.01881/2.018, allocations: 12.34 MB / 1.029 GB, free: 110.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01285/2.031, allocations: 8.051 MB / 1.037 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/2.031, allocations: 0 / 1.037 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005413/2.036, allocations: 3.154 MB / 1.04 GB, free: 106.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005292/2.042, allocations: 0.6952 MB / 1.041 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03786/2.08, allocations: 14.48 MB / 1.055 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009087/2.089, allocations: 4.759 MB / 1.06 GB, free: 99.53 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.009048/2.098, allocations: 2.812 MB / 1.062 GB, free: 99.47 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006355/2.104, allocations: 3.022 MB / 1.065 GB, free: 97.01 MB / 0.5573 GB Notification: Performance of SimCode: time 1.343e-06/2.104, allocations: 0 / 1.065 GB, free: 97.01 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/2.581, allocations: 125.9 MB / 1.188 GB, free: 99.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001401/2.581, allocations: 166.3 kB / 1.188 GB, free: 98.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.355/7.936, allocations: 0 / 1.188 GB, free: 98.89 MB / 0.5573 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