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.001021/0.001021, 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.539/1.539, allocations: 205.3 MB / 213.7 MB, free: 1.73 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.0007949/0.0007949, allocations: 82.64 kB / 261.7 MB, free: 1.68 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.1998/0.1998, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.171e-05/2.181e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 58.86 MB / 477.2 MB, free: 1.531 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4398/0.5523, allocations: 105.2 MB / 0.5688 GB, free: 6.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5526, allocations: 79.83 kB / 0.5689 GB, free: 6.055 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3626/0.9152, allocations: 140.7 MB / 0.7062 GB, free: 1.309 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.976e-06/0.9153, allocations: 4 kB / 0.7062 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007612/0.9161, allocations: 140 kB / 0.7064 GB, free: 1.168 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.395/1.311, allocations: 6.842 MB / 0.713 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/1.311, allocations: 9.094 kB / 0.713 GB, free: 94.6 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04385/1.355, allocations: 9.537 MB / 0.7224 GB, free: 94.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02467/1.38, allocations: 8.839 MB / 0.731 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006495/1.381, allocations: 229.8 kB / 0.7312 GB, free: 93.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004561/1.385, allocations: 431.5 kB / 0.7316 GB, free: 93.52 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02234/1.407, allocations: 9.427 MB / 0.7408 GB, free: 93.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04191/1.449, allocations: 14.6 MB / 0.7551 GB, free: 89.53 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007509/1.45, allocations: 97.11 kB / 0.7552 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003727/1.454, allocations: 47.38 kB / 0.7552 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002466/1.456, allocations: 1.523 MB / 0.7567 GB, free: 89.51 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08148/1.538, allocations: 69.53 MB / 0.8246 GB, free: 42.87 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006144/1.544, allocations: 4.629 MB / 0.8291 GB, free: 40.6 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003273/1.548, allocations: 2.999 MB / 0.8321 GB, free: 39.29 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001636/1.548, allocations: 54.55 kB / 0.8321 GB, free: 39.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/1.548, allocations: 66.44 kB / 0.8322 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=249): time 6.332e-06/1.548, allocations: 3 kB / 0.8322 GB, free: 39.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=268): time 0.0459/1.594, allocations: 24.43 MB / 0.856 GB, free: 21.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/1.594, allocations: 264.5 kB / 0.8563 GB, free: 20.76 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009196/1.603, allocations: 4.931 MB / 0.8611 GB, free: 16.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006965/1.604, allocations: 29.7 kB / 0.8611 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003195/1.607, allocations: 5.158 MB / 0.8662 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001425/1.608, allocations: 1 MB / 0.8671 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007074/1.609, allocations: 0 / 0.8671 GB, free: 10.81 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004983/1.61, allocations: 0.6837 MB / 0.8678 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003922/1.614, allocations: 2.781 MB / 0.8705 GB, free: 7.742 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008131/1.622, allocations: 8.259 MB / 0.8786 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009105/1.631, allocations: 4.733 MB / 0.8832 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002539/1.631, allocations: 56 kB / 0.8833 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1168) (initialization): time 0.02559/1.657, allocations: 10.43 MB / 0.8935 GB, free: 116 kB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003746/1.657, allocations: 88 kB / 0.8935 GB, free: 28 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001604/1.659, allocations: 279.7 kB / 0.8938 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002845/1.662, allocations: 0.8819 MB / 0.8947 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008151/1.67, allocations: 2.076 MB / 0.8967 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01038/1.68, allocations: 8.194 MB / 0.9047 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008245/1.689, allocations: 314.2 kB / 0.905 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002254/1.691, allocations: 0.537 MB / 0.9055 GB, free: 5.023 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 894 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1102): * Single equations (assignments): 1096 * 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.002567/1.693, allocations: 0.593 MB / 0.9061 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008005/1.701, allocations: 4.371 MB / 0.9104 GB, free: 0.6328 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001591/1.703, allocations: 0.5168 MB / 0.9109 GB, free: 112 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3559/2.059, allocations: 4.381 MB / 0.9152 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.331e-05/2.059, allocations: 28.92 kB / 0.9152 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.703e-05/2.059, allocations: 7.125 kB / 0.9152 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.616e-05/2.059, allocations: 13.91 kB / 0.9152 GB, free: 113 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03186/2.091, allocations: 10.3 MB / 0.9253 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.045e-05/2.091, allocations: 5.125 kB / 0.9253 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/2.094, allocations: 439.8 kB / 0.9257 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001716/2.096, allocations: 0.52 MB / 0.9262 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004586/2.096, allocations: 12.19 kB / 0.9262 GB, free: 112.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/2.103, allocations: 7.268 MB / 0.9333 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/2.103, allocations: 0 / 0.9333 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01187/2.115, allocations: 7.621 MB / 0.9407 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002956/2.118, allocations: 0.9002 MB / 0.9416 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001646/2.12, allocations: 6.969 kB / 0.9416 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/2.123, allocations: 110.3 kB / 0.9417 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004672/2.124, allocations: 163.3 kB / 0.9419 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/2.124, allocations: 75.33 kB / 0.942 GB, free: 107.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.007972/2.132, allocations: 3.336 MB / 0.9452 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.21e-07/2.132, allocations: 3.281 kB / 0.9452 GB, free: 107.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00963/2.141, allocations: 1.353 MB / 0.9465 GB, free: 107.5 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (220): * Single equations (assignments): 214 * 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.01116/2.153, allocations: 8.438 MB / 0.9548 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01173/2.164, allocations: 7.019 MB / 0.9616 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/2.165, allocations: 0 / 0.9616 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/2.168, allocations: 2.404 MB / 0.964 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00516/2.173, allocations: 0.5934 MB / 0.9646 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04836/2.222, allocations: 14.3 MB / 0.9785 GB, free: 101.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01229/2.234, allocations: 5.226 MB / 0.9836 GB, free: 100 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01127/2.245, allocations: 2.799 MB / 0.9864 GB, free: 99.96 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007961/2.253, allocations: 3.341 MB / 0.9896 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of SimCode: time 1.703e-06/2.253, allocations: 0 / 0.9896 GB, free: 97.18 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1741/2.427, allocations: 111.9 MB / 1.099 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000154/2.428, allocations: 144.4 kB / 1.099 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.327/7.755, allocations: 0 / 1.099 GB, free: 11.35 MB / 0.5261 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