Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedTranslation.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.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FixedTranslation",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.01037/0.01037, allocations: 174.3 kB / 15.12 MB, free: 5.98 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 1.995/1.995, allocations: 194.5 MB / 210.3 MB, free: 7.598 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.00202/0.00202, allocations: 120.6 kB / 255.6 MB, free: 10.23 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.2476/0.2476, allocations: 40 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004729/0.0004728, allocations: 12.28 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.09921, allocations: 54.88 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5374/0.6366, allocations: 88.55 MB / 0.5368 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.637, allocations: 76.41 kB / 0.5369 GB, free: 21.83 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2611/0.8981, allocations: 71.22 MB / 0.6064 GB, free: 1.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.8981, allocations: 0 / 0.6064 GB, free: 1.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001357/0.8983, allocations: 67.53 kB / 0.6065 GB, free: 1.086 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.0118/0.9101, allocations: 3.257 MB / 0.6097 GB, free: 14.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.9102, allocations: 8.031 kB / 0.6097 GB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00368/0.9139, allocations: 0.7584 MB / 0.6104 GB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02642/0.9404, allocations: 3.359 MB / 0.6137 GB, free: 10.4 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.9483, allocations: 2.131 MB / 0.6158 GB, free: 8.711 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004175/0.9488, allocations: 286.4 kB / 0.6161 GB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002622/0.9514, allocations: 374.8 kB / 0.6164 GB, free: 8.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03101/0.9825, allocations: 9.598 MB / 0.6258 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001686/0.9827, allocations: 23.75 kB / 0.6258 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001874/0.9846, allocations: 178 kB / 0.626 GB, free: 15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002766/0.9874, allocations: 1.112 MB / 0.6271 GB, free: 13.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02741/1.015, allocations: 8.894 MB / 0.6358 GB, free: 4.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07368/1.089, allocations: 33.29 MB / 0.6683 GB, free: 2.938 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009406/1.098, allocations: 3.307 MB / 0.6715 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/1.098, allocations: 17.3 kB / 0.6715 GB, free: 15.38 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/1.098, allocations: 43.56 kB / 0.6716 GB, free: 15.32 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 5.641e-06/1.098, allocations: 480 / 0.6716 GB, free: 15.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.0144/1.113, allocations: 3.905 MB / 0.6754 GB, free: 11.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.441e-05/1.113, allocations: 94.05 kB / 0.6755 GB, free: 11.19 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007782/1.121, allocations: 2.798 MB / 0.6782 GB, free: 8.379 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003036/1.121, allocations: 47.83 kB / 0.6782 GB, free: 8.328 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003208/1.124, allocations: 2.73 MB / 0.6809 GB, free: 5.598 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001055/1.125, allocations: 0.5698 MB / 0.6815 GB, free: 5.031 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000652/1.126, allocations: 95.36 kB / 0.6816 GB, free: 4.941 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004837/1.126, allocations: 0.5127 MB / 0.6821 GB, free: 4.422 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004547/1.131, allocations: 1.52 MB / 0.6835 GB, free: 2.895 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007771/1.139, allocations: 4.47 MB / 0.6879 GB, free: 12.95 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006913/1.146, allocations: 2.62 MB / 0.6905 GB, free: 10.33 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.146, allocations: 32 kB / 0.6905 GB, free: 10.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01713/1.163, allocations: 5.831 MB / 0.6962 GB, free: 4.449 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.659e-05/1.163, allocations: 52.95 kB / 0.6962 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001628/1.163, allocations: 108 kB / 0.6963 GB, free: 4.293 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002072/1.164, allocations: 156 kB / 0.6965 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006389/1.17, allocations: 1.068 MB / 0.6975 GB, free: 3.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002371/1.17, allocations: 207.2 kB / 0.6977 GB, free: 2.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005391/1.176, allocations: 0.695 MB / 0.6984 GB, free: 2.168 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009399/1.177, allocations: 296 kB / 0.6987 GB, free: 1.879 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00528/1.182, allocations: 1.972 MB / 0.7006 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006693/1.183, allocations: 260.5 kB / 0.7009 GB, free: 15.63 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/1.184, allocations: 332 kB / 0.7012 GB, free: 15.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.373e-05/1.184, allocations: 20 kB / 0.7012 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.176e-05/1.184, allocations: 0 / 0.7012 GB, free: 15.29 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.601e-05/1.184, allocations: 3.984 kB / 0.7012 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02122/1.205, allocations: 7.108 MB / 0.7081 GB, free: 8.039 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-05/1.205, allocations: 13 kB / 0.7082 GB, free: 8.027 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001481/1.207, allocations: 179.7 kB / 0.7083 GB, free: 7.852 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.301e-05/1.207, allocations: 12 kB / 0.7083 GB, free: 7.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/1.207, allocations: 32 kB / 0.7084 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.038e-05/1.207, allocations: 15.92 kB / 0.7084 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/1.207, allocations: 11.94 kB / 0.7084 GB, free: 7.781 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005555/1.213, allocations: 2.963 MB / 0.7113 GB, free: 4.402 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.214, allocations: 373.1 kB / 0.7116 GB, free: 4.016 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005136/1.214, allocations: 27.98 kB / 0.7117 GB, free: 3.988 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001355/1.216, allocations: 47.95 kB / 0.7117 GB, free: 3.941 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/1.216, allocations: 84.42 kB / 0.7118 GB, free: 3.859 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001587/1.216, allocations: 51.66 kB / 0.7119 GB, free: 3.812 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005277/1.221, allocations: 1.979 MB / 0.7138 GB, free: 1.832 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.222, allocations: 0 / 0.7138 GB, free: 1.832 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005701/1.227, allocations: 1.031 MB / 0.7148 GB, free: 0.8008 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * 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 (102): * Single equations (assignments): 96 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3339/1.561, allocations: 5.33 MB / 0.72 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008826/1.57, allocations: 3.552 MB / 0.7235 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/1.57, allocations: 1.188 kB / 0.7235 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/1.572, allocations: 0.9295 MB / 0.7244 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002014/1.574, allocations: 292.5 kB / 0.7247 GB, free: 133.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07458/1.649, allocations: 96.97 MB / 0.8194 GB, free: 49.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007063/1.656, allocations: 3.143 MB / 0.8224 GB, free: 49.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007286/1.663, allocations: 1.732 MB / 0.8241 GB, free: 49.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003955/1.667, allocations: 1.59 MB / 0.8257 GB, free: 48.99 MB / 490.7 MB Notification: Performance of SimCode: time 2.505e-06/1.667, allocations: 0 / 0.8257 GB, free: 48.99 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1625/1.83, allocations: 56.55 MB / 0.8809 GB, free: 15.86 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002442/1.83, allocations: 182.3 kB / 0.8811 GB, free: 15.61 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.315/6.145, allocations: 0 / 0.8811 GB, free: 15.61 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat