Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Force2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_Force2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0175/0.01751, allocations: 176.1 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.041/2.041, allocations: 194.5 MB / 210.3 MB, free: 7.613 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002917/0.002916, allocations: 116.7 kB / 255.6 MB, free: 10.24 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2669/0.2669, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005029/0.0005029, allocations: 13.19 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 54.87 MB / 461.1 MB, free: 3.191 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.6321, allocations: 105.5 MB / 0.5533 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002854/0.6324, allocations: 81.97 kB / 0.5534 GB, free: 21.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.313/1.945, allocations: 236.9 MB / 0.7847 GB, free: 57.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.529e-06/1.945, allocations: 2.906 kB / 0.7847 GB, free: 57.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0008694/1.946, allocations: 246.4 kB / 0.785 GB, free: 57.08 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4386 * Number of variables: 4386 Notification: Performance of Generate backend data structure: time 0.06243/2.009, allocations: 13.25 MB / 0.7979 GB, free: 52.14 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.881e-05/2.009, allocations: 10.12 kB / 0.7979 GB, free: 52.14 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01484/2.024, allocations: 2.169 MB / 0.8 GB, free: 52 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0937/2.117, allocations: 12.78 MB / 0.8125 GB, free: 51.11 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05887/2.176, allocations: 13.29 MB / 0.8255 GB, free: 49.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001662/2.178, allocations: 0.9442 MB / 0.8264 GB, free: 49.6 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008582/2.187, allocations: 1.257 MB / 0.8276 GB, free: 49.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1354/2.322, allocations: 30.27 MB / 0.8572 GB, free: 33.37 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001768/2.324, allocations: 154.4 kB / 0.8573 GB, free: 33.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009367/2.333, allocations: 0.5782 MB / 0.8579 GB, free: 32.72 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008927/2.342, allocations: 2.863 MB / 0.8607 GB, free: 30.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1218/2.464, allocations: 24.88 MB / 0.885 GB, free: 9.816 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7303/3.195, allocations: 127.3 MB / 1.009 GB, free: 35.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07086/3.266, allocations: 15.06 MB / 1.024 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05671/3.322, allocations: 20.22 MB / 1.044 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001038/3.323, allocations: 97.78 kB / 1.044 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=566): time 1.017e-05/3.323, allocations: 0 / 1.044 GB, free: 30.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=650): time 0.7198/4.042, allocations: 69.69 MB / 1.112 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001922/4.043, allocations: 387 kB / 1.112 GB, free: 113.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03497/4.078, allocations: 10.64 MB / 1.123 GB, free: 113 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002095/4.08, allocations: 121.3 kB / 1.123 GB, free: 112.9 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.009887/4.09, allocations: 8.419 MB / 1.131 GB, free: 110.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0047/4.095, allocations: 2.384 MB / 1.133 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003913/4.098, allocations: 308.2 kB / 1.134 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002385/4.101, allocations: 0.9611 MB / 1.135 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01968/4.121, allocations: 6.755 MB / 1.141 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02639/4.147, allocations: 15.02 MB / 1.156 GB, free: 97.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0248/4.172, allocations: 9.874 MB / 1.165 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004251/4.172, allocations: 86.97 kB / 1.166 GB, free: 97.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1995) (initialization): time 0.07343/4.246, allocations: 24.66 MB / 1.19 GB, free: 92.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002599/4.246, allocations: 130.4 kB / 1.19 GB, free: 92.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005812/4.247, allocations: 290.6 kB / 1.19 GB, free: 92.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01413/4.261, allocations: 3.284 MB / 1.193 GB, free: 91.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02569/4.287, allocations: 3.74 MB / 1.197 GB, free: 91.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0441/4.331, allocations: 23.11 MB / 1.219 GB, free: 79.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02109/4.352, allocations: 0.9396 MB / 1.22 GB, free: 78.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004331/4.356, allocations: 0.8778 MB / 1.221 GB, free: 78.84 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1317 * Number of states: 0 () * Number of discrete variables: 117 (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],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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.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 (1877): * Single equations (assignments): 1870 * 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 {(2,100.0%) 23,(2,100.0%) 22,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01857/4.375, allocations: 5.663 MB / 1.227 GB, free: 76.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003961/4.379, allocations: 1.061 MB / 1.228 GB, free: 75.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04757/4.427, allocations: 14.8 MB / 1.242 GB, free: 68 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001057/4.427, allocations: 65.17 kB / 1.242 GB, free: 67.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.613e-05/4.427, allocations: 21.94 kB / 1.242 GB, free: 67.92 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001888/4.427, allocations: 35.69 kB / 1.242 GB, free: 67.91 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09795/4.525, allocations: 32.56 MB / 1.274 GB, free: 41.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001045/4.525, allocations: 12 kB / 1.274 GB, free: 41.72 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01324/4.538, allocations: 1.302 MB / 1.275 GB, free: 40.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01345/4.552, allocations: 2.829 MB / 1.278 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002101/4.554, allocations: 123.9 kB / 1.278 GB, free: 38.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04698/4.601, allocations: 21.66 MB / 1.299 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.125e-05/4.601, allocations: 15.94 kB / 1.299 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5759/5.177, allocations: 26.37 MB / 1.325 GB, free: 94.27 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009289/5.187, allocations: 2.185 MB / 1.327 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005286/5.192, allocations: 120.6 kB / 1.327 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01751/5.209, allocations: 451.9 kB / 1.328 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003871/5.213, allocations: 418 kB / 1.328 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001808/5.215, allocations: 168.6 kB / 1.328 GB, free: 94.17 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.02463/5.24, allocations: 7.706 MB / 1.336 GB, free: 93.85 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.11e-07/5.24, allocations: 1.75 kB / 1.336 GB, free: 93.85 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02163/5.262, allocations: 3.077 MB / 1.339 GB, free: 93.85 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute7.phi,Revolute7.w,Revolute6.phi,Revolute6.w,Revolute8.phi,Revolute8.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 (559): * Single equations (assignments): 552 * 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%) 17,(4,75.0%) 17,(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.07569/5.337, allocations: 27.53 MB / 1.366 GB, free: 87.61 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04995/5.387, allocations: 16.76 MB / 1.382 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.916e-05/5.387, allocations: 6.844 kB / 1.382 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0206/5.408, allocations: 7.197 MB / 1.389 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01276/5.421, allocations: 1.337 MB / 1.391 GB, free: 79.91 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.011/6.432, allocations: 343.6 MB / 1.726 GB, free: 20.83 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02378/6.456, allocations: 8.772 MB / 1.735 GB, free: 19.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.03369/6.49, allocations: 5.138 MB / 1.74 GB, free: 19.7 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0172/6.507, allocations: 6.317 MB / 1.746 GB, free: 19.69 MB / 0.6511 GB Notification: Performance of SimCode: time 1.763e-06/6.507, allocations: 0 / 1.746 GB, free: 19.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9453/7.452, allocations: 238.4 MB / 1.979 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/7.453, allocations: 189.3 kB / 1.979 GB, free: 115 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/21.54, allocations: 0 / 1.979 GB, free: 115 MB / 0.6511 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Force2_res.mat does not exist to compare? outputFormat=mat