Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.002112/0.002112, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.131/2.131, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001118/0.001118, allocations: 91.14 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3067/0.3067, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.085e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4449/0.445, allocations: 58.86 MB / 477.2 MB, free: 5.148 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2086/0.6537, allocations: 107 MB / 0.5705 GB, free: 8.199 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.654, allocations: 79.95 kB / 0.5705 GB, free: 8.121 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.052/1.706, allocations: 175.5 MB / 0.7419 GB, free: 65.39 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.084e-06/1.707, allocations: 0 / 0.7419 GB, free: 65.39 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0005913/1.707, allocations: 184 kB / 0.7421 GB, free: 65.21 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03871/1.746, allocations: 8.798 MB / 0.7507 GB, free: 56.35 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/1.746, allocations: 8.031 kB / 0.7507 GB, free: 56.34 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07212/1.818, allocations: 9.875 MB / 0.7604 GB, free: 46.44 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03475/1.853, allocations: 9.845 MB / 0.77 GB, free: 36.6 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006058/1.854, allocations: 308 kB / 0.7703 GB, free: 36.3 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005339/1.859, allocations: 0.5389 MB / 0.7708 GB, free: 35.76 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03273/1.892, allocations: 12.93 MB / 0.7834 GB, free: 22.83 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05093/1.943, allocations: 19.2 MB / 0.8022 GB, free: 1.977 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000636/1.943, allocations: 107 kB / 0.8023 GB, free: 1.871 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004243/1.948, allocations: 55.94 kB / 0.8023 GB, free: 1.816 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004599/1.952, allocations: 2.082 MB / 0.8044 GB, free: 15.74 MB / 491.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9031/2.855, allocations: 87.32 MB / 0.8896 GB, free: 44.61 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01616/2.872, allocations: 7.801 MB / 0.8973 GB, free: 43.91 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01035/2.882, allocations: 5.49 MB / 0.9026 GB, free: 43.87 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005033/2.883, allocations: 92.09 kB / 0.9027 GB, free: 43.87 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.48e-05/2.883, allocations: 81.06 kB / 0.9028 GB, free: 43.83 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=412): time 8.395e-06/2.883, allocations: 0 / 0.9028 GB, free: 43.83 MB / 0.4953 GB Notification: Performance of matching and sorting (n=477): time 0.1392/3.022, allocations: 41.28 MB / 0.9431 GB, free: 32.64 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/3.022, allocations: 278.2 kB / 0.9434 GB, free: 32.36 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/3.038, allocations: 5.533 MB / 0.9488 GB, free: 30.38 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 0.001606/3.04, allocations: 25.7 kB / 0.9488 GB, free: 30.34 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 0.005799/3.046, allocations: 6.048 MB / 0.9547 GB, free: 25.73 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.003183/3.049, allocations: 1.701 MB / 0.9564 GB, free: 24.46 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002252/3.051, allocations: 3.906 kB / 0.9564 GB, free: 24.46 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 0.001146/3.052, allocations: 0.8008 MB / 0.9571 GB, free: 23.93 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01198/3.064, allocations: 4.8 MB / 0.9618 GB, free: 22.19 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0166/3.081, allocations: 11.11 MB / 0.9727 GB, free: 12 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01636/3.097, allocations: 7.201 MB / 0.9797 GB, free: 6.594 MB / 0.4953 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002834/3.098, allocations: 64 kB / 0.9798 GB, free: 6.531 MB / 0.4953 GB Notification: Performance of matching and sorting (n=1514) (initialization): time 0.05063/3.148, allocations: 16.65 MB / 0.996 GB, free: 8.633 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/3.149, allocations: 101 kB / 0.9961 GB, free: 8.535 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004591/3.149, allocations: 224 kB / 0.9963 GB, free: 8.316 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0114/3.16, allocations: 2.499 MB / 0.9988 GB, free: 6.461 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02025/3.181, allocations: 2.775 MB / 1.001 GB, free: 4.109 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03791/3.219, allocations: 15.92 MB / 1.017 GB, free: 5.895 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01451/3.233, allocations: 478.4 kB / 1.017 GB, free: 5.547 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004447/3.238, allocations: 0.6698 MB / 1.018 GB, free: 4.906 MB / 0.5265 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1017 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[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],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 (1418): * Single equations (assignments): 1412 * 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 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008771/3.247, allocations: 0.6779 MB / 1.019 GB, free: 4.227 MB / 0.5265 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0477/3.294, allocations: 10.63 MB / 1.029 GB, free: 13.71 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003364/3.298, allocations: 0.6358 MB / 1.03 GB, free: 13.07 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0367/3.335, allocations: 10.22 MB / 1.04 GB, free: 4.82 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001468/3.335, allocations: 48 kB / 1.04 GB, free: 4.773 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.775e-05/3.335, allocations: 16 kB / 1.04 GB, free: 4.758 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001414/3.335, allocations: 24.89 kB / 1.04 GB, free: 4.754 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4679/3.803, allocations: 21 MB / 1.06 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.054e-05/3.803, allocations: 4.062 kB / 1.06 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009703/3.813, allocations: 0.8898 MB / 1.061 GB, free: 129.2 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/3.823, allocations: 2.116 MB / 1.063 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001575/3.825, allocations: 23.42 kB / 1.063 GB, free: 129.1 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03088/3.856, allocations: 14.67 MB / 1.078 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/3.856, allocations: 9.438 kB / 1.078 GB, free: 125.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04304/3.899, allocations: 17.02 MB / 1.094 GB, free: 123.5 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006715/3.906, allocations: 1.435 MB / 1.096 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003049/3.909, allocations: 10.75 kB / 1.096 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008438/3.917, allocations: 285.8 kB / 1.096 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002054/3.919, allocations: 293.1 kB / 1.096 GB, free: 123.1 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001047/3.92, allocations: 125.4 kB / 1.096 GB, free: 123 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.01034/3.931, allocations: 3.714 MB / 1.1 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of sort global known variables: time 7.92e-07/3.931, allocations: 0 / 1.1 GB, free: 121.7 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.01621/3.947, allocations: 1.966 MB / 1.102 GB, free: 121.7 MB / 0.5421 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (408): * Single equations (assignments): 402 * 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 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.045/3.992, allocations: 18.36 MB / 1.12 GB, free: 113.8 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02966/4.022, allocations: 12.2 MB / 1.132 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/4.022, allocations: 0 / 1.132 GB, free: 109.8 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0136/4.035, allocations: 5.102 MB / 1.137 GB, free: 106.1 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007479/4.043, allocations: 0.6808 MB / 1.137 GB, free: 105.6 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07305/4.116, allocations: 21.82 MB / 1.159 GB, free: 87.08 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01682/4.133, allocations: 6.62 MB / 1.165 GB, free: 82.3 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01238/4.145, allocations: 4.496 MB / 1.17 GB, free: 78.13 MB / 0.5421 GB Notification: Performance of SimCode: time 1.272e-06/4.145, allocations: 0 / 1.17 GB, free: 78.13 MB / 0.5421 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.511/10.66, allocations: 284.4 MB / 1.447 GB, free: 10.61 MB / 0.5734 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat