Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_MultiBody_Forces_FrameForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_3_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.001222/0.001222, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008009/0.0008008, allocations: 78.64 kB / 261.7 MB, free: 1.695 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.2104/0.2104, allocations: 43.49 MB / 353.2 MB, free: 296 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.712e-05, allocations: 4 kB / 418.4 MB, free: 28.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 58.86 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5546, allocations: 104.9 MB / 0.5684 GB, free: 6.492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/0.5549, allocations: 72.66 kB / 0.5685 GB, free: 6.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7119/1.267, allocations: 160.1 MB / 0.7248 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.354e-06/1.267, allocations: 0 / 0.7248 GB, free: 89.68 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0005948/1.268, allocations: 167.6 kB / 0.725 GB, free: 89.68 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.02862/1.296, allocations: 8.015 MB / 0.7328 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/1.296, allocations: 5.781 kB / 0.7328 GB, free: 86.63 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04452/1.341, allocations: 12.04 MB / 0.7446 GB, free: 86.07 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02554/1.366, allocations: 10.81 MB / 0.7551 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005018/1.367, allocations: 267.1 kB / 0.7554 GB, free: 85.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003837/1.371, allocations: 497.8 kB / 0.7559 GB, free: 85.01 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02143/1.392, allocations: 10.99 MB / 0.7666 GB, free: 84.96 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03671/1.429, allocations: 16.53 MB / 0.7827 GB, free: 80.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005894/1.43, allocations: 110.9 kB / 0.7828 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003968/1.434, allocations: 45 kB / 0.7829 GB, free: 80.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.436, allocations: 1.732 MB / 0.7846 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08725/1.524, allocations: 76.43 MB / 0.8592 GB, free: 21.86 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006987/1.531, allocations: 5.879 MB / 0.865 GB, free: 16.41 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004178/1.535, allocations: 3.998 MB / 0.8689 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000582/1.536, allocations: 0.6603 MB / 0.8695 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/1.536, allocations: 73.12 kB / 0.8696 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=307): time 5.3e-06/1.536, allocations: 0 / 0.8696 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=335): time 0.4351/1.971, allocations: 34.33 MB / 0.9031 GB, free: 97.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/1.971, allocations: 298.3 kB / 0.9034 GB, free: 96.99 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01437/1.985, allocations: 5.376 MB / 0.9086 GB, free: 96.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001437/1.987, allocations: 26.92 kB / 0.9087 GB, free: 96.63 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006916/1.994, allocations: 5.702 MB / 0.9142 GB, free: 95.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002409/1.996, allocations: 1.23 MB / 0.9154 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001065/1.997, allocations: 1.219 kB / 0.9154 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007528/1.998, allocations: 0.7165 MB / 0.9161 GB, free: 94.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006347/2.004, allocations: 3.271 MB / 0.9193 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.015, allocations: 8.942 MB / 0.9281 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/2.026, allocations: 5.323 MB / 0.9333 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003733/2.026, allocations: 57.97 kB / 0.9333 GB, free: 86.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1268) (initialization): time 0.02662/2.053, allocations: 11.82 MB / 0.9449 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/2.053, allocations: 89.5 kB / 0.9449 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002244/2.053, allocations: 207 kB / 0.9451 GB, free: 86.19 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/2.056, allocations: 0.9943 MB / 0.9461 GB, free: 86.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007587/2.063, allocations: 2.237 MB / 0.9483 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/2.074, allocations: 10.59 MB / 0.9586 GB, free: 80.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.084, allocations: 346.9 kB / 0.959 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002696/2.087, allocations: 0.5729 MB / 0.9595 GB, free: 80.64 MB / 0.5105 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.00291/2.09, allocations: 0.6174 MB / 0.9601 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009874/2.1, allocations: 5.57 MB / 0.9656 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001958/2.102, allocations: 0.5816 MB / 0.9661 GB, free: 79.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009158/2.111, allocations: 5.629 MB / 0.9716 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.333e-05/2.111, allocations: 38.02 kB / 0.9717 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/2.111, allocations: 9.938 kB / 0.9717 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-05/2.111, allocations: 16.36 kB / 0.9717 GB, free: 78.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02886/2.14, allocations: 13.13 MB / 0.9845 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/2.14, allocations: 0 / 0.9845 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002716/2.143, allocations: 0.5357 MB / 0.985 GB, free: 73.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001781/2.145, allocations: 0.6634 MB / 0.9857 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003166/2.145, allocations: 14.81 kB / 0.9857 GB, free: 73.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00877/2.154, allocations: 9.463 MB / 0.9949 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/2.154, allocations: 3.938 kB / 0.995 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/2.168, allocations: 9.658 MB / 1.004 GB, free: 61.93 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003603/2.171, allocations: 1.065 MB / 1.005 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002343/2.174, allocations: 7.188 kB / 1.005 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004528/2.178, allocations: 145.6 kB / 1.006 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006011/2.179, allocations: 196.5 kB / 1.006 GB, free: 61.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/2.179, allocations: 93.09 kB / 1.006 GB, free: 61.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007377/2.186, allocations: 3.661 MB / 1.009 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.91e-07/2.186, allocations: 0 / 1.009 GB, free: 59.92 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0118/2.198, allocations: 1.576 MB / 1.011 GB, free: 59.92 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 (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.01333/2.212, allocations: 10.61 MB / 1.021 GB, free: 52.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01434/2.226, allocations: 8.292 MB / 1.029 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/2.226, allocations: 0 / 1.029 GB, free: 45.39 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004303/2.23, allocations: 3.059 MB / 1.032 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005752/2.236, allocations: 0.726 MB / 1.033 GB, free: 42 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04689/2.283, allocations: 16.74 MB / 1.049 GB, free: 27.55 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008895/2.292, allocations: 5.917 MB / 1.055 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008784/2.301, allocations: 3.034 MB / 1.058 GB, free: 21.28 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007402/2.308, allocations: 3.916 MB / 1.062 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of SimCode: time 3.456e-06/2.308, allocations: 0 / 1.062 GB, free: 17.64 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5618/2.87, allocations: 131.8 MB / 1.191 GB, free: 73.86 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001584/2.87, allocations: 132.5 kB / 1.191 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.985/8.855, allocations: 0 / 1.191 GB, free: 73.67 MB / 0.5261 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_FrameForces2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat does not exist to compare? outputFormat=mat