Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2.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.Joints.FreeMotion2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion2",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.01018/0.01018, allocations: 174.9 kB / 15.12 MB, free: 5.93 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.174/2.174, allocations: 194.5 MB / 210.3 MB, free: 7.793 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.00201/0.002009, allocations: 116.7 kB / 255.6 MB, free: 10.42 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.2889/0.2889, allocations: 40.01 MB / 340.8 MB, free: 11.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004792, allocations: 18.03 kB / 406.3 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/0.6317, allocations: 102.9 MB / 0.5508 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.632, allocations: 76.62 kB / 0.5509 GB, free: 21.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4937/1.126, allocations: 118.4 MB / 0.6665 GB, free: 8.344 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.535e-06/1.126, allocations: 7.938 kB / 0.6665 GB, free: 8.336 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004871/1.126, allocations: 120 kB / 0.6666 GB, free: 8.219 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02927/1.156, allocations: 6.429 MB / 0.6729 GB, free: 1.711 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/1.156, allocations: 8.031 kB / 0.6729 GB, free: 1.703 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005067/1.161, allocations: 1.018 MB / 0.6739 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06233/1.223, allocations: 6.989 MB / 0.6807 GB, free: 9.664 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02947/1.253, allocations: 7.845 MB / 0.6884 GB, free: 1.734 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007034/1.253, allocations: 435.5 kB / 0.6888 GB, free: 1.309 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003617/1.257, allocations: 0.5778 MB / 0.6894 GB, free: 0.7305 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04537/1.302, allocations: 13.94 MB / 0.703 GB, free: 1.605 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004809/1.303, allocations: 83.2 kB / 0.7031 GB, free: 1.523 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002572/1.305, allocations: 279.9 kB / 0.7033 GB, free: 1.25 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003169/1.309, allocations: 1.318 MB / 0.7046 GB, free: 15.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03964/1.348, allocations: 11.69 MB / 0.716 GB, free: 4.219 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4843/1.833, allocations: 62.08 MB / 0.7767 GB, free: 54.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03434/1.867, allocations: 5.768 MB / 0.7823 GB, free: 54.22 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001135/1.868, allocations: 0.6835 MB / 0.783 GB, free: 53.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.541e-05/1.868, allocations: 67.61 kB / 0.783 GB, free: 53.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=254): time 7.524e-06/1.868, allocations: 0 / 0.783 GB, free: 53.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=320): time 0.1743/2.043, allocations: 34.22 MB / 0.8164 GB, free: 46.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/2.043, allocations: 275 kB / 0.8167 GB, free: 46.56 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01194/2.055, allocations: 4.667 MB / 0.8213 GB, free: 44.99 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009717/2.056, allocations: 72.36 kB / 0.8213 GB, free: 44.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003859/2.06, allocations: 4.05 MB / 0.8253 GB, free: 42.18 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001939/2.062, allocations: 1.185 MB / 0.8264 GB, free: 41.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001174/2.063, allocations: 154.6 kB / 0.8266 GB, free: 41.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005191/2.064, allocations: 0.631 MB / 0.8272 GB, free: 40.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008301/2.072, allocations: 3.318 MB / 0.8304 GB, free: 39.56 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01498/2.087, allocations: 7.553 MB / 0.8378 GB, free: 32.75 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01639/2.103, allocations: 4.93 MB / 0.8426 GB, free: 30.95 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000236/2.104, allocations: 41.38 kB / 0.8427 GB, free: 30.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.04621/2.15, allocations: 12.6 MB / 0.855 GB, free: 24.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/2.15, allocations: 68 kB / 0.855 GB, free: 24.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002407/2.15, allocations: 148.9 kB / 0.8552 GB, free: 24.78 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009306/2.16, allocations: 2.139 MB / 0.8573 GB, free: 23.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01167/2.171, allocations: 1.759 MB / 0.859 GB, free: 21.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03007/2.201, allocations: 14.82 MB / 0.8735 GB, free: 8.453 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009753/2.211, allocations: 463 kB / 0.8739 GB, free: 8.066 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002321/2.214, allocations: 449.6 kB / 0.8743 GB, free: 7.645 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008837/2.223, allocations: 2.817 MB / 0.8771 GB, free: 5.16 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001653/2.224, allocations: 0.4933 MB / 0.8776 GB, free: 4.664 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02664/2.251, allocations: 7.215 MB / 0.8846 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.898e-05/2.251, allocations: 32 kB / 0.8846 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/2.251, allocations: 16 kB / 0.8847 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.531e-05/2.251, allocations: 15.09 kB / 0.8847 GB, free: 15.16 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05468/2.306, allocations: 16.06 MB / 0.9004 GB, free: 2.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.986e-05/2.306, allocations: 15.88 kB / 0.9004 GB, free: 2.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005363/2.311, allocations: 0.5053 MB / 0.9009 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009175/2.321, allocations: 1.876 MB / 0.9027 GB, free: 252 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008322/2.321, allocations: 59.47 kB / 0.9028 GB, free: 196 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4131/2.735, allocations: 13.31 MB / 0.9158 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-05/2.735, allocations: 9.094 kB / 0.9158 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03256/2.767, allocations: 12.18 MB / 0.9277 GB, free: 100 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004089/2.771, allocations: 1.053 MB / 0.9287 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/2.773, allocations: 63.89 kB / 0.9287 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005501/2.779, allocations: 210.8 kB / 0.9289 GB, free: 99.93 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/2.78, allocations: 209.4 kB / 0.9291 GB, free: 99.92 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005037/2.781, allocations: 93.56 kB / 0.9292 GB, free: 99.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009533/2.791, allocations: 3.309 MB / 0.9325 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.62e-07/2.791, allocations: 0 / 0.9325 GB, free: 99.74 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01023/2.801, allocations: 1.495 MB / 0.9339 GB, free: 99.74 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * 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 (259): * Single equations (assignments): 254 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03068/2.832, allocations: 14.18 MB / 0.9478 GB, free: 96.11 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01985/2.851, allocations: 8.281 MB / 0.9559 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.366e-05/2.852, allocations: 2.031 kB / 0.9559 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01343/2.865, allocations: 3.928 MB / 0.9597 GB, free: 92.75 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005853/2.871, allocations: 0.6228 MB / 0.9603 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1722/3.043, allocations: 156.3 MB / 1.113 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3562/3.399, allocations: 4.516 MB / 1.117 GB, free: 153.6 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01198/3.411, allocations: 2.49 MB / 1.12 GB, free: 153.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00858/3.42, allocations: 2.79 MB / 1.123 GB, free: 153.5 MB / 0.5417 GB Notification: Performance of SimCode: time 1.593e-06/3.42, allocations: 2.5 kB / 1.123 GB, free: 153.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2805/3.701, allocations: 119.1 MB / 1.239 GB, free: 97 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002937/3.701, allocations: 190.3 kB / 1.239 GB, free: 96.76 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.801/10.5, allocations: 0 / 1.239 GB, free: 96.76 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat does not exist to compare? outputFormat=mat