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.00234/0.002339, 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.042/2.042, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00151/0.00151, allocations: 94.67 kB / 262.1 MB, free: 13.87 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.3021/0.302, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.047e-05/3.069e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4177, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1979/0.6157, allocations: 104.8 MB / 0.5684 GB, free: 10.33 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003225/0.6161, allocations: 79.95 kB / 0.5685 GB, free: 10.25 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.9934/1.61, allocations: 160.1 MB / 0.7248 GB, free: 82.46 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.405e-06/1.61, allocations: 0 / 0.7248 GB, free: 82.46 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0009411/1.611, allocations: 164 kB / 0.725 GB, free: 82.3 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: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.04211/1.653, allocations: 8.014 MB / 0.7328 GB, free: 74.22 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.653, allocations: 12.03 kB / 0.7328 GB, free: 74.21 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09353/1.746, allocations: 12.03 MB / 0.7446 GB, free: 62.14 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03926/1.786, allocations: 10.8 MB / 0.7551 GB, free: 51.36 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005288/1.786, allocations: 264 kB / 0.7554 GB, free: 51.11 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004576/1.791, allocations: 495.8 kB / 0.7558 GB, free: 50.62 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02864/1.82, allocations: 10.99 MB / 0.7666 GB, free: 39.62 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04504/1.865, allocations: 16.54 MB / 0.7827 GB, free: 21.58 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006178/1.865, allocations: 107 kB / 0.7828 GB, free: 21.48 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003566/1.869, allocations: 44 kB / 0.7829 GB, free: 21.43 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/1.873, allocations: 1.731 MB / 0.7846 GB, free: 19.7 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5381/2.411, allocations: 76.42 MB / 0.8592 GB, free: 65.5 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01347/2.425, allocations: 5.888 MB / 0.8649 GB, free: 64.81 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009096/2.434, allocations: 3.986 MB / 0.8688 GB, free: 64.77 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001201/2.435, allocations: 0.6705 MB / 0.8695 GB, free: 64.2 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.148e-05/2.435, allocations: 66.36 kB / 0.8695 GB, free: 64.16 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=307): time 8.416e-06/2.435, allocations: 0 / 0.8695 GB, free: 64.16 MB / 0.4952 GB Notification: Performance of matching and sorting (n=335): time 0.1106/2.546, allocations: 34.21 MB / 0.903 GB, free: 56.62 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/2.546, allocations: 293.8 kB / 0.9032 GB, free: 56.3 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/2.56, allocations: 5.38 MB / 0.9085 GB, free: 54.38 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 0.0009309/2.561, allocations: 28 kB / 0.9085 GB, free: 54.35 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 0.005255/2.566, allocations: 5.5 MB / 0.9139 GB, free: 50.08 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 0.002134/2.569, allocations: 1.226 MB / 0.9151 GB, free: 49.17 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001346/2.57, allocations: 0 / 0.9151 GB, free: 49.17 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 0.0008039/2.571, allocations: 0.7327 MB / 0.9158 GB, free: 48.68 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008341/2.579, allocations: 3.27 MB / 0.919 GB, free: 47.5 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01234/2.592, allocations: 8.94 MB / 0.9277 GB, free: 38.68 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.604, allocations: 5.336 MB / 0.9329 GB, free: 37.06 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002803/2.604, allocations: 59.16 kB / 0.933 GB, free: 37.06 MB / 0.4952 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.0331/2.637, allocations: 11.58 MB / 0.9443 GB, free: 28.79 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001571/2.638, allocations: 93.41 kB / 0.9444 GB, free: 28.7 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003147/2.638, allocations: 205 kB / 0.9446 GB, free: 28.5 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/2.642, allocations: 1.009 MB / 0.9456 GB, free: 27.66 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01411/2.656, allocations: 2.241 MB / 0.9478 GB, free: 25.72 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01623/2.672, allocations: 10.59 MB / 0.9581 GB, free: 15.69 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01138/2.684, allocations: 341.3 kB / 0.9584 GB, free: 15.41 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002486/2.686, allocations: 0.5734 MB / 0.959 GB, free: 14.85 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 921 * 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 (1192): * Single equations (assignments): 1185 * 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.003382/2.69, allocations: 0.6199 MB / 0.9596 GB, free: 14.23 MB / 0.4952 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01517/2.705, allocations: 5.568 MB / 0.965 GB, free: 9.414 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00239/2.707, allocations: 0.5901 MB / 0.9656 GB, free: 8.816 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01634/2.724, allocations: 5.623 MB / 0.9711 GB, free: 4.172 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.581e-05/2.724, allocations: 37.41 kB / 0.9711 GB, free: 4.137 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-05/2.724, allocations: 8 kB / 0.9711 GB, free: 4.129 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-05/2.724, allocations: 17.69 kB / 0.9712 GB, free: 4.125 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04473/2.769, allocations: 13.14 MB / 0.984 GB, free: 9.473 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-05/2.769, allocations: 0 / 0.984 GB, free: 9.473 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005812/2.775, allocations: 0.5302 MB / 0.9845 GB, free: 9.035 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003518/2.778, allocations: 0.6516 MB / 0.9851 GB, free: 8.535 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008631/2.779, allocations: 15.61 kB / 0.9852 GB, free: 8.523 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01702/2.796, allocations: 9.469 MB / 0.9944 GB, free: 15.42 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.019e-05/2.796, allocations: 4 kB / 0.9944 GB, free: 15.42 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/2.821, allocations: 9.663 MB / 1.004 GB, free: 6.762 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004865/2.826, allocations: 1.068 MB / 1.005 GB, free: 5.762 MB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00207/2.828, allocations: 4 kB / 1.005 GB, free: 5.758 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006125/2.834, allocations: 147.4 kB / 1.005 GB, free: 5.676 MB / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001419/2.835, allocations: 193.6 kB / 1.005 GB, free: 5.551 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005357/2.836, allocations: 83.91 kB / 1.005 GB, free: 5.473 MB / 0.5265 GB Notification: Performance of sorting global known variables: time 0.01169/2.848, allocations: 3.668 MB / 1.009 GB, free: 2.293 MB / 0.5265 GB Notification: Performance of sort global known variables: time 1.192e-06/2.848, allocations: 4 kB / 1.009 GB, free: 2.289 MB / 0.5265 GB Notification: Performance of remove unused functions: time 0.01422/2.862, allocations: 1.577 MB / 1.01 GB, free: 0.7148 MB / 0.5265 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 (280): * Single equations (assignments): 273 * 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.02635/2.888, allocations: 10.61 MB / 1.021 GB, free: 7.141 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.02139/2.91, allocations: 8.282 MB / 1.029 GB, free: 15.63 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.188e-05/2.91, allocations: 4 kB / 1.029 GB, free: 15.63 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.007357/2.917, allocations: 3.063 MB / 1.032 GB, free: 12.82 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007004/2.924, allocations: 0.724 MB / 1.033 GB, free: 12.21 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4447/3.369, allocations: 17.8 MB / 1.05 GB, free: 160.8 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0183/3.387, allocations: 5.923 MB / 1.056 GB, free: 159.9 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01068/3.398, allocations: 3.983 MB / 1.06 GB, free: 159.9 MB / 0.5577 GB Notification: Performance of SimCode: time 1.673e-06/3.398, allocations: 0 / 1.06 GB, free: 159.9 MB / 0.5577 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.326/9.724, allocations: 279.9 MB / 1.333 GB, free: 124.9 MB / 0.5577 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