Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.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.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldTorques,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques",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.001803/0.001803, allocations: 183.3 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.6/1.6, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008555/0.0008556, allocations: 102.8 kB / 270.2 MB, free: 13.36 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.231/0.231, allocations: 43.56 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1332, allocations: 58.86 MB / 490.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.446/0.5792, allocations: 106 MB / 0.5824 GB, free: 10.04 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.5796, allocations: 82.89 kB / 0.5824 GB, free: 9.992 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7407/1.32, allocations: 143.5 MB / 0.7226 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.485e-06/1.32, allocations: 0 / 0.7226 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.001087/1.322, allocations: 142.3 kB / 0.7228 GB, free: 94.95 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: 2473 * Number of variables: 2473 Notification: Performance of Generate backend data structure: time 0.03478/1.356, allocations: 7.48 MB / 0.7301 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001376/1.356, allocations: 12.56 kB / 0.7301 GB, free: 91.98 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009338/1.366, allocations: 1.242 MB / 0.7313 GB, free: 91.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03833/1.404, allocations: 9.526 MB / 0.7406 GB, free: 91.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02597/1.43, allocations: 8.896 MB / 0.7493 GB, free: 90.49 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007202/1.431, allocations: 0.5297 MB / 0.7498 GB, free: 90.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004284/1.435, allocations: 0.709 MB / 0.7505 GB, free: 90.47 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04512/1.48, allocations: 16.68 MB / 0.7668 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008641/1.481, allocations: 97.66 kB / 0.7669 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004442/1.486, allocations: 346.7 kB / 0.7672 GB, free: 86.45 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00279/1.489, allocations: 1.528 MB / 0.7687 GB, free: 86.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03116/1.52, allocations: 13.35 MB / 0.7817 GB, free: 85.39 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08892/1.609, allocations: 72.69 MB / 0.8527 GB, free: 28.47 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01342/1.622, allocations: 5.943 MB / 0.8585 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003082/1.623, allocations: 47.88 kB / 0.8586 GB, free: 23.43 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.106e-05/1.623, allocations: 56.12 kB / 0.8586 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 7.244e-06/1.623, allocations: 3.938 kB / 0.8586 GB, free: 23.36 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.06257/1.685, allocations: 22.88 MB / 0.881 GB, free: 3.191 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/1.686, allocations: 261.2 kB / 0.8812 GB, free: 2.883 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01804/1.704, allocations: 6.458 MB / 0.8875 GB, free: 14.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000753/1.704, allocations: 69.7 kB / 0.8876 GB, free: 14.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.006194/1.711, allocations: 5.07 MB / 0.8925 GB, free: 9.387 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002083/1.713, allocations: 1.025 MB / 0.8935 GB, free: 8.371 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001505/1.714, allocations: 176 kB / 0.8937 GB, free: 8.199 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00125/1.716, allocations: 0.6736 MB / 0.8944 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006548/1.722, allocations: 2.968 MB / 0.8973 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2905/2.013, allocations: 8.238 MB / 0.9053 GB, free: 95.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009774/2.022, allocations: 4.834 MB / 0.91 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002208/2.023, allocations: 53.47 kB / 0.9101 GB, free: 95.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.02657/2.049, allocations: 11.58 MB / 0.9214 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002978/2.05, allocations: 85.41 kB / 0.9215 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004751/2.05, allocations: 188.7 kB / 0.9216 GB, free: 95.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002499/2.053, allocations: 0.8454 MB / 0.9225 GB, free: 95.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007558/2.06, allocations: 1.992 MB / 0.9244 GB, free: 95.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/2.071, allocations: 8.643 MB / 0.9329 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0104/2.081, allocations: 472.9 kB / 0.9333 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002466/2.083, allocations: 0.5195 MB / 0.9338 GB, free: 90.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 852 * Number of states: 0 () * Number of discrete variables: 57 (worldTorque3.color[3],worldTorque3.color[2],worldTorque3.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],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],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],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 (1059): * Single equations (assignments): 1053 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01039/2.094, allocations: 3.323 MB / 0.9371 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/2.096, allocations: 0.5963 MB / 0.9376 GB, free: 90.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01028/2.106, allocations: 4.555 MB / 0.9421 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/2.107, allocations: 27.84 kB / 0.9421 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/2.107, allocations: 10.81 kB / 0.9421 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.024e-05/2.107, allocations: 11.2 kB / 0.9421 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03049/2.137, allocations: 11.72 MB / 0.9536 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.597e-05/2.137, allocations: 3.328 kB / 0.9536 GB, free: 89.69 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002356/2.14, allocations: 431.8 kB / 0.954 GB, free: 89.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00159/2.141, allocations: 0.5226 MB / 0.9545 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004079/2.142, allocations: 53.02 kB / 0.9546 GB, free: 89.65 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/2.149, allocations: 7.73 MB / 0.9621 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.149, allocations: 2.719 kB / 0.9621 GB, free: 84.13 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01247/2.162, allocations: 8.042 MB / 0.97 GB, free: 80.79 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004001/2.166, allocations: 1.013 MB / 0.9709 GB, free: 80.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002092/2.168, allocations: 42.8 kB / 0.971 GB, free: 80.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003785/2.172, allocations: 153.7 kB / 0.9711 GB, free: 80.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005969/2.172, allocations: 159.9 kB / 0.9713 GB, free: 80.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003589/2.173, allocations: 68.38 kB / 0.9714 GB, free: 80.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01065/2.183, allocations: 4.434 MB / 0.9757 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.2e-07/2.183, allocations: 0 / 0.9757 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0111/2.194, allocations: 1.571 MB / 0.9772 GB, free: 78.46 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,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (219): * Single equations (assignments): 213 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01275/2.207, allocations: 8.879 MB / 0.9859 GB, free: 74.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0123/2.219, allocations: 7.5 MB / 0.9932 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/2.22, allocations: 0 / 0.9932 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003902/2.223, allocations: 2.55 MB / 0.9957 GB, free: 70.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005225/2.229, allocations: 0.7669 MB / 0.9964 GB, free: 70 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4482/2.677, allocations: 191.2 MB / 1.183 GB, free: 52.42 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009496/2.686, allocations: 5.213 MB / 1.188 GB, free: 51.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.008299/2.695, allocations: 2.812 MB / 1.191 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006214/2.701, allocations: 3.372 MB / 1.194 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of SimCode: time 1.794e-06/2.701, allocations: 2.625 kB / 1.194 GB, free: 51.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4689/3.17, allocations: 125.8 MB / 1.317 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000176/3.17, allocations: 189.5 kB / 1.317 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.726/9.897, allocations: 7.781 kB / 1.317 GB, free: 116.2 MB / 0.5573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldTorques.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat does not exist to compare? outputFormat=mat