Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.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.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces2",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.002222/0.002222, allocations: 181.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001042/0.001042, allocations: 86.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2864/0.2864, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.525e-05, allocations: 4 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1198, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5076/0.6275, allocations: 105.5 MB / 0.5759 GB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.6278, allocations: 77.56 kB / 0.576 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.18/1.808, allocations: 163.7 MB / 0.7358 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.645e-06/1.808, allocations: 0 / 0.7358 GB, free: 91.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006555/1.808, allocations: 161.3 kB / 0.736 GB, free: 91.36 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.0359/1.844, allocations: 8.011 MB / 0.7438 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/1.844, allocations: 7.875 kB / 0.7438 GB, free: 88.3 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007159/1.851, allocations: 1.403 MB / 0.7452 GB, free: 88.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08839/1.94, allocations: 12.03 MB / 0.7569 GB, free: 87.63 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03889/1.979, allocations: 10.82 MB / 0.7675 GB, free: 86.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007966/1.98, allocations: 0.6061 MB / 0.7681 GB, free: 86.56 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004681/1.984, allocations: 0.8205 MB / 0.7689 GB, free: 86.55 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06392/2.048, allocations: 19.13 MB / 0.7876 GB, free: 81.77 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008709/2.049, allocations: 107.3 kB / 0.7877 GB, free: 81.75 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00471/2.054, allocations: 390.7 kB / 0.7881 GB, free: 81.53 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004539/2.059, allocations: 1.732 MB / 0.7898 GB, free: 81.23 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05236/2.111, allocations: 15.49 MB / 0.8049 GB, free: 75.77 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.135/2.246, allocations: 79.73 MB / 0.8827 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03836/2.285, allocations: 8.179 MB / 0.8907 GB, free: 9.18 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01038/2.295, allocations: 4.087 MB / 0.8947 GB, free: 5.086 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001471/2.297, allocations: 0.6682 MB / 0.8954 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001074/2.297, allocations: 64.88 kB / 0.8954 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=307): time 8.286e-06/2.297, allocations: 0 / 0.8954 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of matching and sorting (n=331): time 0.5106/2.807, allocations: 25.93 MB / 0.9208 GB, free: 93.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/2.808, allocations: 292.9 kB / 0.921 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02864/2.836, allocations: 6.672 MB / 0.9275 GB, free: 92.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001116/2.837, allocations: 81.23 kB / 0.9276 GB, free: 92.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007907/2.845, allocations: 5.313 MB / 0.9328 GB, free: 90.31 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003173/2.849, allocations: 1.255 MB / 0.934 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/2.851, allocations: 188.6 kB / 0.9342 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001922/2.853, allocations: 0.7041 MB / 0.9349 GB, free: 89.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01486/2.868, allocations: 3.371 MB / 0.9382 GB, free: 89.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01996/2.888, allocations: 8.878 MB / 0.9469 GB, free: 82.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0195/2.907, allocations: 5.412 MB / 0.9522 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003399/2.908, allocations: 54.56 kB / 0.9522 GB, free: 82.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.05095/2.959, allocations: 12.56 MB / 0.9645 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/2.959, allocations: 89.98 kB / 0.9646 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003033/2.959, allocations: 196.2 kB / 0.9647 GB, free: 81.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004126/2.964, allocations: 1.014 MB / 0.9657 GB, free: 81.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01402/2.978, allocations: 2.16 MB / 0.9678 GB, free: 81.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/2.996, allocations: 10.99 MB / 0.9786 GB, free: 73.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01194/3.008, allocations: 0.5093 MB / 0.9791 GB, free: 73.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/3.01, allocations: 0.5607 MB / 0.9796 GB, free: 73.22 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.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],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (1152): * Single equations (assignments): 1145 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00403/3.014, allocations: 0.8373 MB / 0.9804 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002135/3.016, allocations: 0.662 MB / 0.9811 GB, free: 72.19 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/3.034, allocations: 5.855 MB / 0.9868 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-05/3.034, allocations: 35.94 kB / 0.9868 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-05/3.034, allocations: 12.48 kB / 0.9869 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.423e-05/3.034, allocations: 18 kB / 0.9869 GB, free: 69.97 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04638/3.081, allocations: 14.64 MB / 1.001 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.741e-05/3.081, allocations: 3.219 kB / 1.001 GB, free: 64.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005483/3.086, allocations: 0.5217 MB / 1.002 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/3.09, allocations: 0.6708 MB / 1.002 GB, free: 64.48 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008211/3.091, allocations: 58.92 kB / 1.002 GB, free: 64.44 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/3.106, allocations: 9.858 MB / 1.012 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/3.106, allocations: 3.938 kB / 1.012 GB, free: 57.14 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0239/3.13, allocations: 9.917 MB / 1.022 GB, free: 50.38 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005009/3.135, allocations: 1.17 MB / 1.023 GB, free: 49.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002575/3.138, allocations: 53.12 kB / 1.023 GB, free: 49.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00654/3.144, allocations: 203.6 kB / 1.023 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001198/3.145, allocations: 193.8 kB / 1.023 GB, free: 48.98 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005751/3.146, allocations: 83.89 kB / 1.023 GB, free: 48.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01343/3.16, allocations: 4.764 MB / 1.028 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.192e-06/3.16, allocations: 0 / 1.028 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01311/3.173, allocations: 1.812 MB / 1.03 GB, free: 42.93 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(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.02542/3.198, allocations: 10.88 MB / 1.04 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02076/3.219, allocations: 8.647 MB / 1.049 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/3.219, allocations: 0 / 1.049 GB, free: 25.19 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007369/3.226, allocations: 3.155 MB / 1.052 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008376/3.235, allocations: 0.9246 MB / 1.053 GB, free: 21.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06037/3.295, allocations: 18.06 MB / 1.07 GB, free: 5.875 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01513/3.311, allocations: 5.914 MB / 1.076 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01851/3.329, allocations: 4.422 MB / 1.081 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/3.329, allocations: 0 / 1.081 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.015/10.34, allocations: 285.7 MB / 1.36 GB, free: 139 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat