Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01038/0.01039, allocations: 165.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.674/1.674, allocations: 170.8 MB / 186.6 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002013/0.002013, allocations: 111.4 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4498/0.4498, allocations: 38.05 MB / 303.7 MB, free: 42.48 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.0004889, allocations: 16 kB / 363 MB, free: 5.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1099, allocations: 48.7 MB / 411.7 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5646, allocations: 94.33 MB / 0.4942 GB, free: 9.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/0.565, allocations: 80.33 kB / 0.4942 GB, free: 9.691 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7333/1.298, allocations: 103.1 MB / 0.5949 GB, free: 72.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.298, allocations: 0 / 0.5949 GB, free: 72.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004109/1.299, allocations: 102 kB / 0.595 GB, free: 72.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1723 * Number of variables: 1723 Notification: Performance of Generate backend data structure: time 0.02474/1.324, allocations: 5.689 MB / 0.6005 GB, free: 70.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.324, allocations: 10.5 kB / 0.6006 GB, free: 70.67 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004819/1.328, allocations: 1.013 MB / 0.6015 GB, free: 70.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04953/1.378, allocations: 6.882 MB / 0.6083 GB, free: 70.23 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02641/1.404, allocations: 7.513 MB / 0.6156 GB, free: 69.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004866/1.405, allocations: 374.7 kB / 0.616 GB, free: 69.48 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002594/1.408, allocations: 500 kB / 0.6164 GB, free: 69.47 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03797/1.446, allocations: 12.33 MB / 0.6285 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005128/1.446, allocations: 75.94 kB / 0.6285 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002851/1.449, allocations: 236.7 kB / 0.6288 GB, free: 66.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002903/1.452, allocations: 1.137 MB / 0.6299 GB, free: 66.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03348/1.486, allocations: 10.28 MB / 0.6399 GB, free: 66.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08385/1.569, allocations: 55.59 MB / 0.6942 GB, free: 25.24 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07467/1.644, allocations: 5.717 MB / 0.6998 GB, free: 23.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/1.665, allocations: 8.791 MB / 0.7084 GB, free: 18.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.287e-05/1.666, allocations: 58.47 kB / 0.7084 GB, free: 18.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=206): time 5.981e-06/1.666, allocations: 0 / 0.7084 GB, free: 18.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.2235/1.889, allocations: 36 MB / 0.7436 GB, free: 10.58 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001883/1.889, allocations: 205.9 kB / 0.7438 GB, free: 10.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01597/1.905, allocations: 4.216 MB / 0.7479 GB, free: 6.125 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009403/1.906, allocations: 61.7 kB / 0.748 GB, free: 6.059 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005777/1.912, allocations: 3.58 MB / 0.7515 GB, free: 2.48 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002497/1.915, allocations: 0.9855 MB / 0.7524 GB, free: 1.504 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001424/1.916, allocations: 128 kB / 0.7525 GB, free: 1.379 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009249/1.917, allocations: 0.5949 MB / 0.7531 GB, free: 0.7773 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3225/2.24, allocations: 2.995 MB / 0.7561 GB, free: 82.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01118/2.251, allocations: 6.794 MB / 0.7627 GB, free: 77.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/2.262, allocations: 4.425 MB / 0.767 GB, free: 77.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001764/2.262, allocations: 36.12 kB / 0.767 GB, free: 77.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=876) (initialization): time 0.04455/2.306, allocations: 13.04 MB / 0.7798 GB, free: 77.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001283/2.307, allocations: 68.84 kB / 0.7798 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002185/2.307, allocations: 137.2 kB / 0.78 GB, free: 77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02127/2.328, allocations: 4.08 MB / 0.784 GB, free: 76.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009151/2.337, allocations: 1.41 MB / 0.7853 GB, free: 76.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06173/2.399, allocations: 26.9 MB / 0.8116 GB, free: 66.36 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008572/2.408, allocations: 399.3 kB / 0.812 GB, free: 66.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00192/2.41, allocations: 393.9 kB / 0.8124 GB, free: 66.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 39 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (760): * Single equations (assignments): 754 * 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: 2 {(8,50.0%) 50,(2,100.0%) 12} * Non-linear torn systems: 1 {2 21} Notification: Performance of prepare postOptimizeDAE: time 0.00739/2.417, allocations: 2.48 MB / 0.8148 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001251/2.418, allocations: 449.1 kB / 0.8152 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02913/2.448, allocations: 8.114 MB / 0.8231 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.375e-05/2.448, allocations: 30.66 kB / 0.8232 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.75e-05/2.448, allocations: 10.66 kB / 0.8232 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-05/2.448, allocations: 14.52 kB / 0.8232 GB, free: 62.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05233/2.5, allocations: 16.68 MB / 0.8395 GB, free: 56.03 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-05/2.5, allocations: 7.875 kB / 0.8395 GB, free: 56.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002827/2.503, allocations: 308.3 kB / 0.8398 GB, free: 56 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01897/2.522, allocations: 3.772 MB / 0.8435 GB, free: 55.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007063/2.523, allocations: 54.34 kB / 0.8435 GB, free: 55.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05384/2.577, allocations: 25.64 MB / 0.8686 GB, free: 40.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.866e-06/2.577, allocations: 4 kB / 0.8686 GB, free: 40.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04078/2.618, allocations: 12.64 MB / 0.8809 GB, free: 29.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003574/2.621, allocations: 0.9409 MB / 0.8818 GB, free: 28.66 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001782/2.623, allocations: 49.59 kB / 0.8819 GB, free: 28.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004993/2.628, allocations: 171.7 kB / 0.882 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001433/2.63, allocations: 193.3 kB / 0.8822 GB, free: 28.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/2.63, allocations: 74.98 kB / 0.8823 GB, free: 28.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.008432/2.639, allocations: 2.992 MB / 0.8852 GB, free: 25.86 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.062e-06/2.639, allocations: 0 / 0.8852 GB, free: 25.86 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009835/2.648, allocations: 1.422 MB / 0.8866 GB, free: 24.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 2 (j1.phi,j1.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 (161): * Single equations (assignments): 155 * 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: 2 {(8,50.0%) 43,(2,100.0%) 9} * Non-linear torn systems: 1 {2 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.03728/2.686, allocations: 14.42 MB / 0.9007 GB, free: 11.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02785/2.714, allocations: 8.127 MB / 0.9086 GB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/2.714, allocations: 0 / 0.9086 GB, free: 4.711 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01401/2.728, allocations: 3.468 MB / 0.912 GB, free: 1.629 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007338/2.735, allocations: 0.5423 MB / 0.9125 GB, free: 1.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5021/3.237, allocations: 140.6 MB / 1.05 GB, free: 25.53 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01409/3.252, allocations: 4.036 MB / 1.054 GB, free: 24.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01347/3.265, allocations: 2.019 MB / 1.056 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006203/3.271, allocations: 2.389 MB / 1.058 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of SimCode: time 1.082e-06/3.271, allocations: 1.25 kB / 1.058 GB, free: 24.52 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5997/3.871, allocations: 117.5 MB / 1.173 GB, free: 128.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/3.871, allocations: 237.6 kB / 1.173 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.521/10.39, allocations: 0 / 1.173 GB, free: 128.1 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat