Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001377, allocations: 183.4 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.753/1.753, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009524/0.0009521, allocations: 94.53 kB / 267 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3928/0.3928, allocations: 43.46 MB / 358.6 MB, free: 51.53 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.771e-05, allocations: 4 kB / 425.4 MB, free: 8.105 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1419/0.1419, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4583/0.6003, allocations: 105.7 MB / 0.5761 GB, free: 88 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.6006, allocations: 79.77 kB / 0.5762 GB, free: 48 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6935/1.294, allocations: 137.8 MB / 0.7108 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.226e-06/1.294, allocations: 0 / 0.7108 GB, free: 80.08 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005202/1.295, allocations: 140.8 kB / 0.7109 GB, free: 80.07 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02656/1.321, allocations: 6.654 MB / 0.7174 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/1.321, allocations: 9.281 kB / 0.7175 GB, free: 77.45 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006541/1.328, allocations: 1.186 MB / 0.7186 GB, free: 77.35 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03778/1.366, allocations: 9.499 MB / 0.7279 GB, free: 76.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02477/1.391, allocations: 8.731 MB / 0.7364 GB, free: 75.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006888/1.391, allocations: 0.5103 MB / 0.7369 GB, free: 75.96 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004287/1.396, allocations: 0.6755 MB / 0.7376 GB, free: 75.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04676/1.442, allocations: 15.99 MB / 0.7532 GB, free: 72.01 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008115/1.443, allocations: 100.3 kB / 0.7533 GB, free: 72 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003849/1.447, allocations: 326.7 kB / 0.7536 GB, free: 72 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/1.45, allocations: 1.463 MB / 0.755 GB, free: 71.98 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02634/1.476, allocations: 12.66 MB / 0.7674 GB, free: 71.17 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08498/1.561, allocations: 70.8 MB / 0.8365 GB, free: 34.43 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01299/1.574, allocations: 5.854 MB / 0.8422 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004092/1.578, allocations: 3.026 MB / 0.8452 GB, free: 30.94 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001933/1.579, allocations: 46.62 kB / 0.8452 GB, free: 30.93 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/1.579, allocations: 71.48 kB / 0.8453 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=242): time 7.474e-06/1.579, allocations: 0 / 0.8453 GB, free: 30.86 MB / 0.5105 GB Notification: Performance of matching and sorting (n=260): time 0.05188/1.631, allocations: 18.99 MB / 0.8638 GB, free: 18.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.986e-05/1.631, allocations: 265.1 kB / 0.8641 GB, free: 18.07 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01384/1.645, allocations: 6.105 MB / 0.8701 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0006843/1.645, allocations: 69.36 kB / 0.8701 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004041/1.649, allocations: 4.879 MB / 0.8749 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001656/1.651, allocations: 1.006 MB / 0.8759 GB, free: 7.348 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009074/1.652, allocations: 168 kB / 0.876 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004495/1.652, allocations: 0.6578 MB / 0.8767 GB, free: 6.617 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004308/1.657, allocations: 2.789 MB / 0.8794 GB, free: 4.102 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3885/2.045, allocations: 7.932 MB / 0.8871 GB, free: 83.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01217/2.057, allocations: 4.671 MB / 0.8917 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005123/2.058, allocations: 52.69 kB / 0.8918 GB, free: 83.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02719/2.085, allocations: 11.08 MB / 0.9026 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/2.086, allocations: 82.94 kB / 0.9027 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003036/2.086, allocations: 181.2 kB / 0.9028 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/2.088, allocations: 0.81 MB / 0.9036 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007069/2.095, allocations: 1.931 MB / 0.9055 GB, free: 82.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008505/2.104, allocations: 8.302 MB / 0.9136 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008685/2.112, allocations: 458.6 kB / 0.9141 GB, free: 78.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/2.115, allocations: 0.5037 MB / 0.9145 GB, free: 78.32 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.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 (1036): * Single equations (assignments): 1030 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002978/2.118, allocations: 0.7594 MB / 0.9153 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/2.119, allocations: 0.5849 MB / 0.9159 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008788/2.128, allocations: 4.274 MB / 0.92 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.833e-05/2.128, allocations: 29.38 kB / 0.9201 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/2.128, allocations: 17.03 kB / 0.9201 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.093e-05/2.128, allocations: 15.11 kB / 0.9201 GB, free: 77.83 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/2.154, allocations: 11.16 MB / 0.931 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.714e-05/2.154, allocations: 4.188 kB / 0.931 GB, free: 77.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/2.157, allocations: 411 kB / 0.9314 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/2.159, allocations: 0.4997 MB / 0.9319 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005813/2.159, allocations: 45.44 kB / 0.9319 GB, free: 77.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008624/2.168, allocations: 7.389 MB / 0.9391 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/2.168, allocations: 5.125 kB / 0.9391 GB, free: 73.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01303/2.181, allocations: 7.627 MB / 0.9466 GB, free: 70.67 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003786/2.185, allocations: 0.9915 MB / 0.9476 GB, free: 70.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001752/2.187, allocations: 44.03 kB / 0.9476 GB, free: 70.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/2.19, allocations: 148 kB / 0.9477 GB, free: 70.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005005/2.19, allocations: 148 kB / 0.9479 GB, free: 70 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/2.191, allocations: 72.06 kB / 0.9479 GB, free: 69.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01001/2.201, allocations: 4.34 MB / 0.9522 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.132e-06/2.201, allocations: 3.188 kB / 0.9522 GB, free: 68.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01107/2.212, allocations: 1.515 MB / 0.9537 GB, free: 68.33 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (215): * Single equations (assignments): 209 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01202/2.224, allocations: 8.482 MB / 0.962 GB, free: 64.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01327/2.237, allocations: 7.115 MB / 0.9689 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/2.237, allocations: 0 / 0.9689 GB, free: 61.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003591/2.241, allocations: 2.389 MB / 0.9712 GB, free: 60.47 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005561/2.246, allocations: 0.7672 MB / 0.972 GB, free: 60.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04089/2.287, allocations: 14.25 MB / 0.9859 GB, free: 55.02 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008577/2.296, allocations: 5.029 MB / 0.9908 GB, free: 53.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008266/2.304, allocations: 2.766 MB / 0.9935 GB, free: 53.13 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006289/2.311, allocations: 3.25 MB / 0.9967 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of SimCode: time 2.435e-06/2.311, allocations: 0 / 0.9967 GB, free: 50.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5091/2.82, allocations: 122.8 MB / 1.117 GB, free: 90.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/2.82, allocations: 164.2 kB / 1.117 GB, free: 90.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.499/10.32, allocations: 0 / 1.117 GB, free: 90.38 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat