Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002136/0.002136, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 223.2 MB / 241 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009269/0.0009269, allocations: 104 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3251/0.3251, allocations: 44.22 MB / 387.5 MB, free: 38.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004238/0.0004239, allocations: 12 kB / 460 MB, free: 1.453 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3644, allocations: 61.9 MB / 0.5096 GB, free: 37.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.5104, allocations: 109.1 MB / 0.6162 GB, free: 2.004 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004037/0.5109, allocations: 79.94 kB / 0.6162 GB, free: 1.93 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5652/1.076, allocations: 126.3 MB / 0.7396 GB, free: 91.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.743e-06/1.076, allocations: 0 / 0.7396 GB, free: 91.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003991/1.077, allocations: 128.7 kB / 0.7397 GB, free: 91.07 MB / 490.7 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.02297/1.1, allocations: 6.871 MB / 0.7464 GB, free: 87.69 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.1, allocations: 5.75 kB / 0.7464 GB, free: 87.69 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005585/1.105, allocations: 1.111 MB / 0.7475 GB, free: 87.12 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02671/1.132, allocations: 7.065 MB / 0.7544 GB, free: 85.39 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0175/1.15, allocations: 6.998 MB / 0.7612 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004325/1.15, allocations: 476.7 kB / 0.7617 GB, free: 81.18 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003027/1.153, allocations: 0.6327 MB / 0.7623 GB, free: 80.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03615/1.189, allocations: 15.72 MB / 0.7776 GB, free: 66.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004596/1.19, allocations: 95.14 kB / 0.7777 GB, free: 66.57 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/1.192, allocations: 303.9 kB / 0.778 GB, free: 66.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001806/1.194, allocations: 1.47 MB / 0.7795 GB, free: 64.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/1.218, allocations: 12.76 MB / 0.7919 GB, free: 52 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06815/1.286, allocations: 70.63 MB / 0.8609 GB, free: 11.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01795/1.304, allocations: 7.14 MB / 0.8679 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2918/1.596, allocations: 8.793 MB / 0.8765 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/1.596, allocations: 63.06 kB / 0.8765 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 5.992e-06/1.596, allocations: 0 / 0.8765 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.07721/1.673, allocations: 30.68 MB / 0.9065 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/1.674, allocations: 236.8 kB / 0.9067 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01302/1.687, allocations: 5.937 MB / 0.9125 GB, free: 107 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008221/1.688, allocations: 66.36 kB / 0.9126 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00434/1.692, allocations: 4.537 MB / 0.917 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001737/1.694, allocations: 1.095 MB / 0.9181 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009479/1.695, allocations: 173.4 kB / 0.9182 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005002/1.695, allocations: 0.6645 MB / 0.9189 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004772/1.7, allocations: 3.281 MB / 0.9221 GB, free: 101 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008164/1.708, allocations: 8.289 MB / 0.9302 GB, free: 93.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008046/1.716, allocations: 5.109 MB / 0.9352 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001499/1.716, allocations: 50.75 kB / 0.9352 GB, free: 91.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.02336/1.74, allocations: 12.8 MB / 0.9477 GB, free: 87.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001092/1.74, allocations: 86.98 kB / 0.9478 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/1.74, allocations: 178.8 kB / 0.948 GB, free: 87.04 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/1.744, allocations: 1.673 MB / 0.9496 GB, free: 86.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00683/1.751, allocations: 1.999 MB / 0.9516 GB, free: 86.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01318/1.764, allocations: 11.52 MB / 0.9628 GB, free: 79.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008628/1.773, allocations: 0.4958 MB / 0.9633 GB, free: 79.43 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002114/1.775, allocations: 0.5099 MB / 0.9638 GB, free: 78.94 MB / 0.5105 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 () * Number of clocked 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.01007/1.785, allocations: 3.037 MB / 0.9668 GB, free: 76.27 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001765/1.787, allocations: 0.5735 MB / 0.9673 GB, free: 75.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.797, allocations: 6.269 MB / 0.9734 GB, free: 70.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/1.798, allocations: 31.95 kB / 0.9735 GB, free: 70.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.084e-05/1.798, allocations: 12 kB / 0.9735 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.571e-05/1.798, allocations: 13.69 kB / 0.9735 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02715/1.825, allocations: 14.2 MB / 0.9874 GB, free: 59.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-05/1.825, allocations: 8 kB / 0.9874 GB, free: 59.15 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002452/1.827, allocations: 0.5308 MB / 0.9879 GB, free: 58.74 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003349/1.831, allocations: 1.404 MB / 0.9893 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003494/1.831, allocations: 50.06 kB / 0.9893 GB, free: 57.72 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/1.842, allocations: 10.74 MB / 0.9998 GB, free: 48.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/1.842, allocations: 11.95 kB / 0.9998 GB, free: 48.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01491/1.857, allocations: 11.02 MB / 1.011 GB, free: 38.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/1.86, allocations: 0.6407 MB / 1.011 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002383/1.862, allocations: 51.98 kB / 1.011 GB, free: 37.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004541/1.867, allocations: 193.5 kB / 1.011 GB, free: 37.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/1.868, allocations: 179 kB / 1.012 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007106/1.869, allocations: 78.95 kB / 1.012 GB, free: 37.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009813/1.879, allocations: 4.253 MB / 1.016 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.72e-07/1.879, allocations: 0 / 1.016 GB, free: 33.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0113/1.89, allocations: 1.545 MB / 1.017 GB, free: 31.56 MB / 0.5105 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.01921/1.91, allocations: 12.43 MB / 1.029 GB, free: 18.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01392/1.923, allocations: 8.147 MB / 1.037 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/1.924, allocations: 0 / 1.037 GB, free: 10.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00587/1.929, allocations: 3.199 MB / 1.041 GB, free: 7.539 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005807/1.935, allocations: 0.6951 MB / 1.041 GB, free: 6.867 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4255/2.361, allocations: 183.7 MB / 1.221 GB, free: 31.94 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01024/2.371, allocations: 4.765 MB / 1.225 GB, free: 31.07 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01167/2.383, allocations: 2.81 MB / 1.228 GB, free: 30.85 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008047/2.391, allocations: 3.024 MB / 1.231 GB, free: 29.29 MB / 0.573 GB Notification: Performance of SimCode: time 7.023e-06/2.391, allocations: 2.531 kB / 1.231 GB, free: 29.29 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5211/2.912, allocations: 126.4 MB / 1.354 GB, free: 156.2 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/2.912, allocations: 180.3 kB / 1.355 GB, free: 155.9 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.871/9.783, allocations: 4 kB / 1.355 GB, free: 155.9 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat