Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00176/0.00176, allocations: 177.2 kB / 16.57 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.92/1.92, allocations: 205.4 MB / 222.7 MB, free: 5.902 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5021/0.5021, allocations: 43.54 MB / 314.5 MB, free: 8.918 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006692/0.0006692, allocations: 16 kB / 384 MB, free: 8.215 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1745, allocations: 58.85 MB / 442.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.4065/0.581, allocations: 77.15 MB / 0.5078 GB, free: 200 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05699/0.6381, allocations: 17.24 MB / 0.5246 GB, free: 4.441 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02938/0.6676, allocations: 386.2 kB / 0.525 GB, free: 4.383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02119/0.6888, allocations: 3.878 MB / 0.5288 GB, free: 3.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05155/0.7404, allocations: 11 MB / 0.5395 GB, free: 13.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007515/0.7479, allocations: 0.8761 MB / 0.5404 GB, free: 12.15 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.04519/0.7932, allocations: 27.37 MB / 0.5671 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01206/0.8053, allocations: 7.358 MB / 0.5743 GB, free: 9.34 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004172/0.8095, allocations: 1.623 MB / 0.5759 GB, free: 7.711 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004696/0.8142, allocations: 2.184 MB / 0.578 GB, free: 5.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.8156, allocations: 224 kB / 0.5783 GB, free: 5.301 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003129/0.8188, allocations: 0.987 MB / 0.5792 GB, free: 4.312 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.8224, allocations: 2.579 MB / 0.5817 GB, free: 1.727 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002724/0.8251, allocations: 1.31 MB / 0.583 GB, free: 416 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01353/0.8387, allocations: 8.697 MB / 0.5915 GB, free: 7.688 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.8387, allocations: 0 / 0.5915 GB, free: 7.688 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.748e-06/0.8387, allocations: 0 / 0.5915 GB, free: 7.688 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0005811/0.8393, allocations: 0 / 0.5915 GB, free: 7.688 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.02229/0.8616, allocations: 6.897 MB / 0.5982 GB, free: 0.707 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.685e-05/0.8617, allocations: 12.03 kB / 0.5983 GB, free: 0.6953 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004818/0.8665, allocations: 1.091 MB / 0.5993 GB, free: 15.59 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04479/0.9113, allocations: 8.256 MB / 0.6074 GB, free: 7.316 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/0.9246, allocations: 4.76 MB / 0.612 GB, free: 2.477 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/0.9251, allocations: 373.6 kB / 0.6124 GB, free: 2.109 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002368/0.9275, allocations: 0.4956 MB / 0.6129 GB, free: 1.613 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03355/0.9611, allocations: 15.76 MB / 0.6283 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002293/0.9614, allocations: 63.38 kB / 0.6283 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007869/0.9622, allocations: 239.8 kB / 0.6286 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3458/1.308, allocations: 2.998 MB / 0.6315 GB, free: 140.2 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03081/1.339, allocations: 13.37 MB / 0.6445 GB, free: 138.4 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09697/1.436, allocations: 60.85 MB / 0.704 GB, free: 97.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01884/1.455, allocations: 7.72 MB / 0.7115 GB, free: 92 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.018/1.473, allocations: 9.7 MB / 0.721 GB, free: 82.23 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.473, allocations: 72.48 kB / 0.721 GB, free: 82.15 MB / 494.1 MB Notification: Performance of pre-optimization done (n=273): time 5.911e-06/1.473, allocations: 0 / 0.721 GB, free: 82.15 MB / 494.1 MB Notification: Performance of matching and sorting (n=315): time 0.09366/1.567, allocations: 33.97 MB / 0.7542 GB, free: 47.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/1.567, allocations: 239.9 kB / 0.7544 GB, free: 47.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01396/1.581, allocations: 7.128 MB / 0.7614 GB, free: 40.42 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001606/1.582, allocations: 76.91 kB / 0.7615 GB, free: 40.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004447/1.587, allocations: 4.676 MB / 0.766 GB, free: 35.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002438/1.589, allocations: 1.187 MB / 0.7672 GB, free: 34.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007674/1.59, allocations: 176 kB / 0.7674 GB, free: 34.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00042/1.591, allocations: 0.6799 MB / 0.768 GB, free: 33.64 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005241/1.596, allocations: 3.656 MB / 0.7716 GB, free: 29.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009661/1.605, allocations: 8.772 MB / 0.7802 GB, free: 18.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00856/1.614, allocations: 5.545 MB / 0.7856 GB, free: 13.11 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.614, allocations: 48 kB / 0.7856 GB, free: 13.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=1162) (initialization): time 0.02919/1.643, allocations: 13.77 MB / 0.7991 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005199/1.644, allocations: 80 kB / 0.7992 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006187/1.645, allocations: 180 kB / 0.7993 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005881/1.651, allocations: 1.793 MB / 0.8011 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009059/1.66, allocations: 2.109 MB / 0.8031 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02041/1.68, allocations: 12.19 MB / 0.8151 GB, free: 14.65 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01227/1.693, allocations: 0.5227 MB / 0.8156 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003569/1.696, allocations: 0.5263 MB / 0.8161 GB, free: 13.61 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 822 * Number of states: 0 () * Number of discrete variables: 63 (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 (1082): * Single equations (assignments): 1075 * 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.01204/1.708, allocations: 3.156 MB / 0.8192 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003213/1.711, allocations: 0.5862 MB / 0.8197 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/1.728, allocations: 7.012 MB / 0.8266 GB, free: 2.812 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.055e-05/1.729, allocations: 35.94 kB / 0.8266 GB, free: 2.777 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.312e-05/1.729, allocations: 12 kB / 0.8266 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.254e-05/1.729, allocations: 11.95 kB / 0.8266 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3774/2.106, allocations: 15.53 MB / 0.8418 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.753e-05/2.106, allocations: 6.75 kB / 0.8418 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/2.109, allocations: 0.5598 MB / 0.8424 GB, free: 154.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003845/2.113, allocations: 1.508 MB / 0.8438 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000704/2.114, allocations: 61.06 kB / 0.8439 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01417/2.128, allocations: 11.39 MB / 0.855 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.892e-06/2.128, allocations: 6.031 kB / 0.855 GB, free: 148.5 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/2.15, allocations: 12.24 MB / 0.867 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004799/2.155, allocations: 1.185 MB / 0.8681 GB, free: 142.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002275/2.157, allocations: 65.11 kB / 0.8682 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/2.161, allocations: 211 kB / 0.8684 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005845/2.162, allocations: 197.1 kB / 0.8686 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002192/2.162, allocations: 78.72 kB / 0.8687 GB, free: 142.7 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0113/2.174, allocations: 4.596 MB / 0.8731 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.21e-07/2.174, allocations: 0 / 0.8731 GB, free: 141.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01107/2.185, allocations: 1.674 MB / 0.8748 GB, free: 141 MB / 0.5137 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 (260): * Single equations (assignments): 255 * 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.01962/2.204, allocations: 13.63 MB / 0.8881 GB, free: 134.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01375/2.218, allocations: 8.936 MB / 0.8968 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/2.218, allocations: 0 / 0.8968 GB, free: 129.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005358/2.224, allocations: 3.567 MB / 0.9003 GB, free: 126.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004535/2.228, allocations: 0.6928 MB / 0.901 GB, free: 125.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3022/2.53, allocations: 159.3 MB / 1.057 GB, free: 110 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007519/2.538, allocations: 4.939 MB / 1.061 GB, free: 109.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007976/2.546, allocations: 2.964 MB / 1.064 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005533/2.552, allocations: 3.148 MB / 1.067 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.643e-06/2.552, allocations: 0 / 1.067 GB, free: 109.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/2.748, allocations: 130.5 MB / 1.195 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/2.748, allocations: 190.6 kB / 1.195 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.936/8.684, allocations: 7.938 kB / 1.195 GB, free: 10.68 MB / 0.5137 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat does not exist to compare? outputFormat=mat