Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.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.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3",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.001202/0.001202, allocations: 177.6 kB / 8.002 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.502/1.502, allocations: 205.3 MB / 213.7 MB, free: 1.738 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.0008105/0.0008104, allocations: 98.22 kB / 261.8 MB, free: 1.672 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.1919/0.1919, allocations: 43.49 MB / 353.2 MB, free: 284 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.69e-05/2.692e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1094, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3769/0.4864, allocations: 109.3 MB / 0.5728 GB, free: 2.062 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/0.4866, allocations: 78.17 kB / 0.5729 GB, free: 2.023 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7782/1.265, allocations: 219.2 MB / 0.787 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.434e-06/1.265, allocations: 0 / 0.787 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0006858/1.266, allocations: 240.4 kB / 0.7872 GB, free: 86.38 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: 4187 * Number of variables: 4187 Notification: Performance of Generate backend data structure: time 0.03824/1.304, allocations: 11.39 MB / 0.7983 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.064e-05/1.304, allocations: 10.16 kB / 0.7983 GB, free: 82.15 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05067/1.355, allocations: 12.64 MB / 0.8107 GB, free: 80.3 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02849/1.383, allocations: 12.54 MB / 0.8229 GB, free: 71.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005781/1.384, allocations: 392 kB / 0.8233 GB, free: 70.87 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005897/1.39, allocations: 0.7106 MB / 0.824 GB, free: 70.16 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03155/1.421, allocations: 16.74 MB / 0.8404 GB, free: 53.42 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0575/1.479, allocations: 24.46 MB / 0.8642 GB, free: 26.99 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008324/1.48, allocations: 130.8 kB / 0.8644 GB, free: 26.86 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005657/1.485, allocations: 63.38 kB / 0.8644 GB, free: 26.8 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004193/1.49, allocations: 2.682 MB / 0.867 GB, free: 24.13 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.509/1.999, allocations: 110.4 MB / 0.9749 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/2.012, allocations: 10.82 MB / 0.9854 GB, free: 48.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009883/2.022, allocations: 7.535 MB / 0.9928 GB, free: 48.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002434/2.025, allocations: 2.35 MB / 0.9951 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.66e-05/2.025, allocations: 89.42 kB / 0.9952 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=541): time 9.488e-06/2.025, allocations: 6.375 kB / 0.9952 GB, free: 46.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=629): time 0.1268/2.152, allocations: 56.9 MB / 1.051 GB, free: 25.37 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/2.152, allocations: 324.1 kB / 1.051 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01665/2.168, allocations: 7.078 MB / 1.058 GB, free: 21.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001877/2.17, allocations: 25.7 kB / 1.058 GB, free: 21.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005953/2.176, allocations: 7.923 MB / 1.066 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.003969/2.18, allocations: 2.227 MB / 1.068 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003032/2.183, allocations: 0 / 1.068 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001798/2.185, allocations: 0.9342 MB / 1.069 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01316/2.198, allocations: 6.206 MB / 1.075 GB, free: 6.395 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01974/2.218, allocations: 14.03 MB / 1.089 GB, free: 5.758 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01895/2.237, allocations: 9.356 MB / 1.098 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003973/2.238, allocations: 80 kB / 1.098 GB, free: 14.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1922) (initialization): time 0.4156/2.653, allocations: 21.94 MB / 1.119 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009068/2.654, allocations: 124.1 kB / 1.119 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001209/2.655, allocations: 274.7 kB / 1.12 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009789/2.665, allocations: 3.291 MB / 1.123 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01615/2.681, allocations: 3.611 MB / 1.126 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02482/2.706, allocations: 21.31 MB / 1.147 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01363/2.72, allocations: 0.5989 MB / 1.148 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004222/2.724, allocations: 0.8475 MB / 1.149 GB, free: 116.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1258 * Number of states: 0 () * Number of discrete variables: 108 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1802): * Single equations (assignments): 1795 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005951/2.73, allocations: 0.8433 MB / 1.149 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02347/2.754, allocations: 13.03 MB / 1.162 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003189/2.757, allocations: 0.818 MB / 1.163 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0233/2.78, allocations: 13.76 MB / 1.176 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.259e-05/2.78, allocations: 65.83 kB / 1.176 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.58e-05/2.78, allocations: 16.06 kB / 1.176 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.363e-05/2.78, allocations: 36.88 kB / 1.176 GB, free: 114.1 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0535/2.834, allocations: 27.66 MB / 1.203 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.765e-05/2.834, allocations: 3.625 kB / 1.203 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006617/2.841, allocations: 1.229 MB / 1.205 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006613/2.847, allocations: 2.8 MB / 1.207 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001167/2.849, allocations: 24.03 kB / 1.207 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02233/2.871, allocations: 19.66 MB / 1.227 GB, free: 93.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/2.871, allocations: 6.422 kB / 1.227 GB, free: 93.44 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03026/2.901, allocations: 21.53 MB / 1.248 GB, free: 75.31 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006567/2.908, allocations: 1.838 MB / 1.249 GB, free: 73.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003534/2.911, allocations: 10.39 kB / 1.249 GB, free: 73.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006872/2.918, allocations: 387.5 kB / 1.25 GB, free: 73.41 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00184/2.92, allocations: 362.1 kB / 1.25 GB, free: 73.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006707/2.921, allocations: 159.5 kB / 1.25 GB, free: 73.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00949/2.93, allocations: 4.769 MB / 1.255 GB, free: 68.92 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.01e-07/2.93, allocations: 1.906 kB / 1.255 GB, free: 68.92 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01817/2.949, allocations: 2.536 MB / 1.257 GB, free: 66.39 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 16 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (540): * Single equations (assignments): 533 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.03231/2.981, allocations: 22.47 MB / 1.279 GB, free: 46.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02642/3.007, allocations: 15.84 MB / 1.295 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/3.007, allocations: 0 / 1.295 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01189/3.019, allocations: 6.726 MB / 1.301 GB, free: 26.58 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007642/3.027, allocations: 0.8633 MB / 1.302 GB, free: 25.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.389/3.416, allocations: 26.95 MB / 1.329 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0224/3.439, allocations: 8.325 MB / 1.337 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01678/3.455, allocations: 4.683 MB / 1.341 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01227/3.468, allocations: 5.794 MB / 1.347 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.052e-06/3.468, allocations: 0 / 1.347 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6885/4.156, allocations: 204.7 MB / 1.547 GB, free: 90.76 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/4.156, allocations: 122.4 kB / 1.547 GB, free: 90.57 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.196/12.35, allocations: 2.953 kB / 1.547 GB, free: 90.57 MB / 0.573 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Forces_Torque3.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque3_res.mat does not exist to compare? outputFormat=mat