Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.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.WorldForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces",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.001174/0.001174, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 221.5 MB / 230.7 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008719/0.0008719, allocations: 89.55 kB / 281.6 MB, free: 5.324 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.2045/0.2045, allocations: 44.14 MB / 376.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.944e-05, allocations: 0 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 61.92 MB / 0.4948 GB, free: 1.156 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5859, allocations: 108.4 MB / 0.6006 GB, free: 4.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5863, allocations: 79.95 kB / 0.6007 GB, free: 3.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6978/1.284, allocations: 138.4 MB / 0.7358 GB, free: 104 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.136e-06/1.284, allocations: 3.812 kB / 0.7358 GB, free: 104 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004939/1.285, allocations: 137 kB / 0.7359 GB, free: 104 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: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02643/1.311, allocations: 6.877 MB / 0.7426 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/1.311, allocations: 15.77 kB / 0.7426 GB, free: 101.3 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03837/1.349, allocations: 9.501 MB / 0.7519 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02328/1.373, allocations: 8.358 MB / 0.7601 GB, free: 99.84 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004995/1.373, allocations: 234.3 kB / 0.7603 GB, free: 99.83 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003745/1.377, allocations: 420.5 kB / 0.7607 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01887/1.396, allocations: 9.339 MB / 0.7698 GB, free: 96.59 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03807/1.434, allocations: 14.7 MB / 0.7842 GB, free: 88.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009399/1.435, allocations: 102.7 kB / 0.7843 GB, free: 87.93 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004354/1.44, allocations: 48 kB / 0.7843 GB, free: 87.88 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002464/1.442, allocations: 1.497 MB / 0.7858 GB, free: 86.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0836/1.526, allocations: 72.77 MB / 0.8568 GB, free: 14.77 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/1.531, allocations: 5.032 MB / 0.8618 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003674/1.535, allocations: 3.383 MB / 0.8651 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001445/1.535, allocations: 43.7 kB / 0.8651 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.843e-05/1.535, allocations: 63.19 kB / 0.8652 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.112e-06/1.535, allocations: 0 / 0.8652 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.05901/1.594, allocations: 28.72 MB / 0.8932 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001634/1.594, allocations: 295.2 kB / 0.8935 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009333/1.604, allocations: 4.853 MB / 0.8982 GB, free: 3.93 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007256/1.604, allocations: 25.7 kB / 0.8983 GB, free: 3.898 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.3285/1.933, allocations: 5.044 MB / 0.9032 GB, free: 123.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001939/1.935, allocations: 0.9934 MB / 0.9041 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009786/1.936, allocations: 1.469 kB / 0.9041 GB, free: 123.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006562/1.937, allocations: 0.6752 MB / 0.9048 GB, free: 123 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005683/1.942, allocations: 2.902 MB / 0.9076 GB, free: 122.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009158/1.951, allocations: 8.241 MB / 0.9157 GB, free: 116 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009187/1.961, allocations: 4.828 MB / 0.9204 GB, free: 116 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003454/1.961, allocations: 55.19 kB / 0.9205 GB, free: 116 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1144) (initialization): time 0.02832/1.989, allocations: 11.06 MB / 0.9313 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001819/1.99, allocations: 86.31 kB / 0.9313 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003031/1.99, allocations: 193 kB / 0.9315 GB, free: 115.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003126/1.993, allocations: 1.358 MB / 0.9329 GB, free: 115.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006967/2, allocations: 2.029 MB / 0.9348 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/2.011, allocations: 10.64 MB / 0.9452 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007784/2.019, allocations: 311.5 kB / 0.9455 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002043/2.021, allocations: 0.5402 MB / 0.9461 GB, free: 110.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 872 * Number of states: 0 () * Number of discrete variables: 71 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1069): * Single equations (assignments): 1063 * 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%) 14,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001886/2.023, allocations: 0.5863 MB / 0.9466 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008154/2.031, allocations: 5.159 MB / 0.9517 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001097/2.032, allocations: 0.5108 MB / 0.9522 GB, free: 107.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008337/2.041, allocations: 4.999 MB / 0.957 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.423e-05/2.041, allocations: 29.94 kB / 0.9571 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.521e-05/2.041, allocations: 15.52 kB / 0.9571 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-05/2.041, allocations: 12.77 kB / 0.9571 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02022/2.061, allocations: 11.65 MB / 0.9685 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/2.061, allocations: 3.656 kB / 0.9685 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/2.063, allocations: 430.2 kB / 0.9689 GB, free: 102 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002636/2.066, allocations: 1.031 MB / 0.9699 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002795/2.066, allocations: 14.5 kB / 0.9699 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009388/2.076, allocations: 9.677 MB / 0.9794 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/2.076, allocations: 0 / 0.9794 GB, free: 95.55 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/2.086, allocations: 8.697 MB / 0.9879 GB, free: 91.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/2.087, allocations: 0.5304 MB / 0.9884 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005709/2.088, allocations: 6.453 kB / 0.9884 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002031/2.09, allocations: 112.2 kB / 0.9885 GB, free: 91.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003247/2.09, allocations: 152.8 kB / 0.9886 GB, free: 91.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/2.09, allocations: 67.81 kB / 0.9887 GB, free: 91.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004396/2.095, allocations: 3.269 MB / 0.9919 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/2.095, allocations: 0 / 0.9919 GB, free: 90.25 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006636/2.101, allocations: 1.376 MB / 0.9932 GB, free: 90.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 200 * 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,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01011/2.112, allocations: 9.585 MB / 1.003 GB, free: 83.22 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00957/2.121, allocations: 7.382 MB / 1.01 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/2.121, allocations: 0 / 1.01 GB, free: 76.57 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003038/2.124, allocations: 2.681 MB / 1.012 GB, free: 74.14 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/2.127, allocations: 0.6424 MB / 1.013 GB, free: 73.61 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/2.153, allocations: 14.51 MB / 1.027 GB, free: 61.05 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005364/2.159, allocations: 5.171 MB / 1.032 GB, free: 57.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.006152/2.165, allocations: 2.787 MB / 1.035 GB, free: 55.48 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003161/2.168, allocations: 3.274 MB / 1.038 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of SimCode: time 1.153e-06/2.168, allocations: 0 / 1.038 GB, free: 52.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5536/2.722, allocations: 115.1 MB / 1.151 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/2.722, allocations: 138.7 kB / 1.151 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.134/8.856, allocations: 0 / 1.151 GB, free: 108.6 MB / 0.5417 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Forces_WorldForces.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForces_res.mat does not exist to compare? outputFormat=mat