Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 184.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 223.2 MB / 241 MB, free: 10.17 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009408/0.0009407, allocations: 92.14 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3682/0.3682, allocations: 44.2 MB / 387.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003638/0.0003641, allocations: 8 kB / 460 MB, free: 1.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3924, allocations: 61.89 MB / 0.5096 GB, free: 37.81 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.5437, allocations: 107.1 MB / 0.6142 GB, free: 3.863 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.5441, allocations: 87.91 kB / 0.6143 GB, free: 3.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6557/1.2, allocations: 132.3 MB / 0.7435 GB, free: 89.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.2, allocations: 0 / 0.7435 GB, free: 89.04 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0005059/1.2, allocations: 135.2 kB / 0.7436 GB, free: 89.03 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.02474/1.225, allocations: 6.943 MB / 0.7504 GB, free: 85.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.673e-05/1.225, allocations: 7.25 kB / 0.7504 GB, free: 85.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005867/1.231, allocations: 1.116 MB / 0.7515 GB, free: 85.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03594/1.267, allocations: 9.409 MB / 0.7607 GB, free: 80.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0239/1.291, allocations: 8.151 MB / 0.7687 GB, free: 76.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000612/1.292, allocations: 491.1 kB / 0.7691 GB, free: 75.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003491/1.295, allocations: 0.64 MB / 0.7698 GB, free: 75.44 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04043/1.336, allocations: 15.23 MB / 0.7846 GB, free: 58.76 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006274/1.336, allocations: 91.17 kB / 0.7847 GB, free: 58.67 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003631/1.34, allocations: 315.9 kB / 0.785 GB, free: 58.36 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/1.342, allocations: 1.338 MB / 0.7863 GB, free: 57.02 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.027/1.369, allocations: 12 MB / 0.798 GB, free: 44.98 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09414/1.463, allocations: 67.58 MB / 0.864 GB, free: 7.402 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02082/1.484, allocations: 5.288 MB / 0.8692 GB, free: 1.957 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002044/1.485, allocations: 36.95 kB / 0.8692 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.28e-05/1.485, allocations: 59.5 kB / 0.8693 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 7.073e-06/1.485, allocations: 0 / 0.8693 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.4208/1.905, allocations: 19.87 MB / 0.8887 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.546e-05/1.906, allocations: 254.5 kB / 0.8889 GB, free: 108 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01138/1.917, allocations: 5.979 MB / 0.8948 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004668/1.917, allocations: 58.17 kB / 0.8948 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003957/1.921, allocations: 4.67 MB / 0.8994 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001119/1.923, allocations: 0.8296 MB / 0.9002 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004625/1.923, allocations: 157 kB / 0.9004 GB, free: 104.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003808/1.923, allocations: 0.6315 MB / 0.901 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003723/1.927, allocations: 2.454 MB / 0.9034 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00687/1.934, allocations: 7.386 MB / 0.9106 GB, free: 98 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007389/1.941, allocations: 4.172 MB / 0.9147 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002615/1.942, allocations: 53.5 kB / 0.9147 GB, free: 97.28 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02476/1.967, allocations: 10.16 MB / 0.9246 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005791/1.967, allocations: 78.98 kB / 0.9247 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007164/1.968, allocations: 175.4 kB / 0.9249 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/1.971, allocations: 0.7985 MB / 0.9256 GB, free: 93.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007283/1.978, allocations: 1.765 MB / 0.9274 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.989, allocations: 8.442 MB / 0.9356 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009038/1.998, allocations: 405.2 kB / 0.936 GB, free: 87.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002083/2, allocations: 489.1 kB / 0.9365 GB, free: 87.29 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (952): * Single equations (assignments): 946 * 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.00955/2.009, allocations: 3.037 MB / 0.9394 GB, free: 85.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002017/2.011, allocations: 0.5501 MB / 0.94 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007817/2.019, allocations: 3.397 MB / 0.9433 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.287e-05/2.019, allocations: 23.7 kB / 0.9433 GB, free: 84.28 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.531e-05/2.019, allocations: 11.77 kB / 0.9433 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.894e-05/2.019, allocations: 9.938 kB / 0.9433 GB, free: 84.27 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02355/2.043, allocations: 9.556 MB / 0.9527 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.201e-05/2.043, allocations: 4 kB / 0.9527 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/2.044, allocations: 296.2 kB / 0.9529 GB, free: 80.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/2.046, allocations: 0.4928 MB / 0.9534 GB, free: 80.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001805/2.046, allocations: 36.25 kB / 0.9535 GB, free: 80.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006835/2.053, allocations: 7.543 MB / 0.9608 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/2.053, allocations: 3.953 kB / 0.9608 GB, free: 74.97 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/2.061, allocations: 6.237 MB / 0.9669 GB, free: 72.15 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/2.064, allocations: 0.6149 MB / 0.9675 GB, free: 71.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001616/2.065, allocations: 35.31 kB / 0.9676 GB, free: 71.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/2.068, allocations: 106.4 kB / 0.9677 GB, free: 71.65 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003408/2.069, allocations: 121.4 kB / 0.9678 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001414/2.069, allocations: 58.67 kB / 0.9678 GB, free: 71.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00915/2.078, allocations: 4.273 MB / 0.972 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.4e-07/2.078, allocations: 0 / 0.972 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01142/2.089, allocations: 1.388 MB / 0.9734 GB, free: 67.02 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (160): * Single equations (assignments): 154 * 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.01002/2.099, allocations: 7.073 MB / 0.9803 GB, free: 60.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009679/2.109, allocations: 6.246 MB / 0.9864 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/2.109, allocations: 0 / 0.9864 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002456/2.112, allocations: 1.977 MB / 0.9883 GB, free: 53.36 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004982/2.117, allocations: 0.7563 MB / 0.989 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4796/2.596, allocations: 176.9 MB / 1.162 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01083/2.607, allocations: 4.766 MB / 1.166 GB, free: 50.06 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.009819/2.617, allocations: 2.533 MB / 1.169 GB, free: 50.01 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006952/2.624, allocations: 3.039 MB / 1.172 GB, free: 50.01 MB / 0.5417 GB Notification: Performance of SimCode: time 1.212e-06/2.624, allocations: 0 / 1.172 GB, free: 50.01 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1858/2.81, allocations: 115.6 MB / 1.285 GB, free: 7.551 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/2.81, allocations: 204.2 kB / 1.285 GB, free: 7.301 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/9.676, allocations: 0 / 1.285 GB, free: 7.301 MB / 0.573 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces2.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat does not exist to compare? outputFormat=mat