Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.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.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.002171/0.002171, allocations: 183 kB / 13.19 MB, free: 2.129 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.612/1.612, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.0009658/0.000966, allocations: 92.38 kB / 267 MB, free: 9.273 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.4178/0.4178, allocations: 43.46 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.579e-05/3.58e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 58.85 MB / 484.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4637/0.5965, allocations: 107.6 MB / 0.578 GB, free: 14.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5969, allocations: 80.08 kB / 0.5781 GB, free: 14.16 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7772/1.374, allocations: 179.7 MB / 0.7536 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.655e-06/1.374, allocations: 1.656 kB / 0.7536 GB, free: 77.58 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007021/1.375, allocations: 176.7 kB / 0.7538 GB, free: 77.57 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: 3271 * Number of variables: 3271 Notification: Performance of Generate backend data structure: time 0.03715/1.412, allocations: 8.817 MB / 0.7624 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.412, allocations: 6 kB / 0.7624 GB, free: 74.2 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007936/1.42, allocations: 1.62 MB / 0.764 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/1.46, allocations: 9.869 MB / 0.7736 GB, free: 73.44 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02666/1.487, allocations: 9.858 MB / 0.7832 GB, free: 72.24 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007409/1.488, allocations: 0.6923 MB / 0.7839 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005486/1.493, allocations: 0.9282 MB / 0.7848 GB, free: 71.7 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05857/1.552, allocations: 22.17 MB / 0.8064 GB, free: 60.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007861/1.553, allocations: 104.2 kB / 0.8065 GB, free: 60.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004823/1.558, allocations: 445.3 kB / 0.807 GB, free: 60.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003152/1.561, allocations: 2.087 MB / 0.809 GB, free: 60.28 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0439/1.605, allocations: 18.4 MB / 0.827 GB, free: 50.05 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5079/2.113, allocations: 91.59 MB / 0.9164 GB, free: 47.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02203/2.135, allocations: 9.329 MB / 0.9255 GB, free: 47 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008195/2.143, allocations: 5.613 MB / 0.931 GB, free: 46.96 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/2.144, allocations: 85.03 kB / 0.9311 GB, free: 46.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.35e-05/2.144, allocations: 81.41 kB / 0.9312 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=412): time 7.424e-06/2.144, allocations: 0 / 0.9312 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=475): time 0.1032/2.247, allocations: 38.55 MB / 0.9688 GB, free: 40.14 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/2.247, allocations: 287 kB / 0.9691 GB, free: 39.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01228/2.259, allocations: 7.332 MB / 0.9763 GB, free: 39.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001337/2.261, allocations: 98.62 kB / 0.9764 GB, free: 39.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004169/2.265, allocations: 6.126 MB / 0.9823 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00258/2.267, allocations: 1.743 MB / 0.984 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007749/2.268, allocations: 221.4 kB / 0.9842 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005545/2.269, allocations: 0.7801 MB / 0.985 GB, free: 33.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006827/2.276, allocations: 4.929 MB / 0.9898 GB, free: 32.08 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/2.288, allocations: 11 MB / 1.001 GB, free: 22.32 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/2.3, allocations: 7.292 MB / 1.008 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002142/2.3, allocations: 60.41 kB / 1.008 GB, free: 20.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1461) (initialization): time 0.03651/2.337, allocations: 18.09 MB / 1.025 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001502/2.337, allocations: 98.16 kB / 1.025 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002993/2.337, allocations: 222.7 kB / 1.026 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006172/2.344, allocations: 2.468 MB / 1.028 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01068/2.354, allocations: 2.68 MB / 1.031 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02208/2.376, allocations: 16.91 MB / 1.047 GB, free: 14.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01111/2.388, allocations: 0.6707 MB / 1.048 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002585/2.39, allocations: 0.6423 MB / 1.049 GB, free: 13.64 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 966 * Number of states: 0 () * Number of discrete variables: 75 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[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],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[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],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],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],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 (1365): * Single equations (assignments): 1359 * 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 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00251/2.393, allocations: 0.9521 MB / 1.049 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0021/2.395, allocations: 0.752 MB / 1.05 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0225/2.417, allocations: 10.67 MB / 1.061 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.846e-05/2.418, allocations: 53.17 kB / 1.061 GB, free: 3.191 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/2.418, allocations: 12 kB / 1.061 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.308e-05/2.418, allocations: 23.22 kB / 1.061 GB, free: 3.18 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05326/2.471, allocations: 22.84 MB / 1.083 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-05/2.471, allocations: 7.938 kB / 1.083 GB, free: 0.7109 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005222/2.476, allocations: 0.8817 MB / 1.084 GB, free: 16 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008019/2.484, allocations: 2.328 MB / 1.086 GB, free: 15.01 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001408/2.486, allocations: 92.39 kB / 1.086 GB, free: 14.93 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02152/2.507, allocations: 15.69 MB / 1.102 GB, free: 0.8516 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/2.507, allocations: 4 kB / 1.102 GB, free: 0.8477 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03118/2.539, allocations: 17.6 MB / 1.119 GB, free: 320 kB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3767/2.915, allocations: 1.603 MB / 1.12 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003564/2.919, allocations: 83.14 kB / 1.12 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006656/2.926, allocations: 358.2 kB / 1.121 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001457/2.927, allocations: 284.1 kB / 1.121 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005079/2.928, allocations: 125.5 kB / 1.121 GB, free: 151.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01557/2.943, allocations: 5.21 MB / 1.126 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.011e-06/2.943, allocations: 3.75 kB / 1.126 GB, free: 150.8 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0154/2.959, allocations: 2.275 MB / 1.128 GB, free: 150.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,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 (406): * Single equations (assignments): 400 * 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,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02801/2.987, allocations: 18.88 MB / 1.147 GB, free: 148.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0235/3.01, allocations: 12.35 MB / 1.159 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/3.01, allocations: 1 kB / 1.159 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01055/3.021, allocations: 5.276 MB / 1.164 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007125/3.028, allocations: 0.9363 MB / 1.165 GB, free: 147.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06415/3.092, allocations: 21.45 MB / 1.186 GB, free: 140.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01776/3.11, allocations: 6.599 MB / 1.192 GB, free: 138.4 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.01578/3.126, allocations: 3.776 MB / 1.196 GB, free: 138.2 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009928/3.136, allocations: 4.458 MB / 1.2 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of SimCode: time 2.615e-06/3.136, allocations: 0 / 1.2 GB, free: 134.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6701/3.806, allocations: 176.8 MB / 1.373 GB, free: 139.2 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/3.806, allocations: 174.4 kB / 1.373 GB, free: 139 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.508/13.31, allocations: 0 / 1.373 GB, free: 139 MB / 0.5886 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_WorldForceAndTorque.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForceAndTorque_res.mat does not exist to compare? outputFormat=mat