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.001677/0.001676, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 225.6 MB / 234.8 MB, free: 3.184 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008829/0.000883, allocations: 102.8 kB / 286.7 MB, free: 5.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1919/0.1919, allocations: 45.14 MB / 383.7 MB, free: 208 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.953e-05/1.963e-05, allocations: 4 kB / 453.3 MB, free: 75.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 63.24 MB / 0.5044 GB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.4933, allocations: 109.2 MB / 0.6111 GB, free: 9.195 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4936, allocations: 74.47 kB / 0.6112 GB, free: 9.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3071/0.8007, allocations: 126.1 MB / 0.7343 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8007, allocations: 0 / 0.7343 GB, free: 3.164 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003841/0.8011, allocations: 124 kB / 0.7344 GB, free: 3.043 MB / 0.5105 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.02218/0.8233, allocations: 6.441 MB / 0.7407 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/0.8234, allocations: 16.02 kB / 0.7407 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/0.8523, allocations: 7.062 MB / 0.7476 GB, free: 5.426 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3036/1.156, allocations: 6.314 MB / 0.7538 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004442/1.156, allocations: 204.4 kB / 0.754 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002683/1.159, allocations: 373 kB / 0.7544 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0173/1.176, allocations: 8.719 MB / 0.7629 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03115/1.208, allocations: 13.57 MB / 0.7761 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004307/1.208, allocations: 86.41 kB / 0.7762 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002274/1.21, allocations: 43.44 kB / 0.7763 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/1.212, allocations: 1.476 MB / 0.7777 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05875/1.271, allocations: 67.45 MB / 0.8436 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/1.276, allocations: 5.036 MB / 0.8485 GB, free: 61.42 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003074/1.279, allocations: 3.392 MB / 0.8518 GB, free: 60.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/1.279, allocations: 382.6 kB / 0.8522 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.279, allocations: 58.59 kB / 0.8522 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=240): time 5.2e-06/1.279, allocations: 3.656 kB / 0.8522 GB, free: 59.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=283): time 0.04963/1.329, allocations: 27.01 MB / 0.8786 GB, free: 49.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/1.329, allocations: 238.6 kB / 0.8788 GB, free: 49.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006161/1.335, allocations: 4.538 MB / 0.8833 GB, free: 47.31 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006078/1.336, allocations: 29.36 kB / 0.8833 GB, free: 47.28 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002369/1.338, allocations: 4.632 MB / 0.8878 GB, free: 43.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001248/1.34, allocations: 1.043 MB / 0.8888 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/1.34, allocations: 0 / 0.8888 GB, free: 42.28 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003581/1.341, allocations: 0.6756 MB / 0.8895 GB, free: 41.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004072/1.345, allocations: 3.125 MB / 0.8925 GB, free: 38.91 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006709/1.351, allocations: 8.227 MB / 0.9006 GB, free: 28.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006993/1.358, allocations: 5.012 MB / 0.9055 GB, free: 24.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001086/1.359, allocations: 56 kB / 0.9055 GB, free: 24.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1132) (initialization): time 0.01927/1.378, allocations: 11.68 MB / 0.9169 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.378, allocations: 84 kB / 0.917 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000233/1.378, allocations: 180 kB / 0.9172 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003504/1.382, allocations: 1.689 MB / 0.9188 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006763/1.388, allocations: 2.053 MB / 0.9208 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.4, allocations: 10.59 MB / 0.9312 GB, free: 1.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006631/1.407, allocations: 349.9 kB / 0.9315 GB, free: 1.664 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001862/1.409, allocations: 0.5207 MB / 0.932 GB, free: 1.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * 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 (1062): * Single equations (assignments): 1057 * 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%) 20,(4,75.0%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002698/1.411, allocations: 0.5658 MB / 0.9326 GB, free: 0.5938 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01353/1.425, allocations: 6.134 MB / 0.9386 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/1.427, allocations: 489.5 kB / 0.939 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01293/1.44, allocations: 5.895 MB / 0.9448 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.858e-05/1.44, allocations: 28 kB / 0.9448 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.452e-05/1.44, allocations: 11.95 kB / 0.9448 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-05/1.44, allocations: 17.27 kB / 0.9448 GB, free: 6.742 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3058/1.746, allocations: 12.78 MB / 0.9573 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.95e-05/1.746, allocations: 5.969 kB / 0.9573 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002539/1.748, allocations: 0.4909 MB / 0.9578 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003833/1.752, allocations: 1.387 MB / 0.9592 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003831/1.753, allocations: 7.281 kB / 0.9592 GB, free: 112.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.766, allocations: 9.704 MB / 0.9686 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/1.766, allocations: 4.25 kB / 0.9687 GB, free: 110 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.779, allocations: 10.01 MB / 0.9784 GB, free: 109.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.781, allocations: 0.5051 MB / 0.9789 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007336/1.782, allocations: 3.25 kB / 0.9789 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/1.784, allocations: 153.7 kB / 0.9791 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004318/1.784, allocations: 167.5 kB / 0.9792 GB, free: 109 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.784, allocations: 70.94 kB / 0.9793 GB, free: 109 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.005023/1.789, allocations: 3.053 MB / 0.9823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.22e-07/1.789, allocations: 3.281 kB / 0.9823 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008122/1.798, allocations: 1.338 MB / 0.9836 GB, free: 108.8 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 222 * 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.01334/1.811, allocations: 10.98 MB / 0.9943 GB, free: 107 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.823, allocations: 7.932 MB / 1.002 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.823, allocations: 2.719 kB / 1.002 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004082/1.827, allocations: 3.022 MB / 1.005 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002877/1.83, allocations: 0.5391 MB / 1.006 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/1.857, allocations: 13.94 MB / 1.019 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00662/1.863, allocations: 4.77 MB / 1.024 GB, free: 99.84 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006944/1.87, allocations: 2.825 MB / 1.027 GB, free: 99.79 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004475/1.875, allocations: 2.967 MB / 1.029 GB, free: 97.34 MB / 0.5417 GB Notification: Performance of SimCode: time 1.282e-06/1.875, allocations: 3.906 kB / 1.029 GB, free: 97.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/2.018, allocations: 110.5 MB / 1.137 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/2.019, allocations: 131.9 kB / 1.138 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.379/7.398, allocations: 0 / 1.138 GB, free: 12.82 MB / 0.5417 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