Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_SphericalSpherical",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.01011/0.01011, allocations: 165.8 kB / 15.11 MB, free: 5.934 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.64/1.64, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.001987/0.001986, allocations: 103 kB / 226.2 MB, free: 10.11 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.433/0.433, allocations: 38.05 MB / 303.7 MB, free: 42.41 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000811/0.0008112, allocations: 8 kB / 363 MB, free: 5.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1501, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.6024, allocations: 93.44 MB / 0.4933 GB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.6028, allocations: 74.09 kB / 0.4934 GB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4062/1.009, allocations: 94.65 MB / 0.5858 GB, free: 340 kB / 426.7 MB Notification: Performance of FrontEnd: time 4.258e-06/1.009, allocations: 3.984 kB / 0.5858 GB, free: 336 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003556/1.009, allocations: 88 kB / 0.5859 GB, free: 248 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1534 * Number of variables: 1534 Notification: Performance of Generate backend data structure: time 0.3415/1.351, allocations: 5.017 MB / 0.5908 GB, free: 75.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/1.351, allocations: 8.375 kB / 0.5908 GB, free: 75.91 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005704/1.357, allocations: 0.9099 MB / 0.5917 GB, free: 75.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0659/1.423, allocations: 6.732 MB / 0.5982 GB, free: 75.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/1.446, allocations: 6.33 MB / 0.6044 GB, free: 74.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004927/1.447, allocations: 328 kB / 0.6047 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002753/1.45, allocations: 446.3 kB / 0.6052 GB, free: 74.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0352/1.485, allocations: 11.04 MB / 0.616 GB, free: 72.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000383/1.485, allocations: 68.58 kB / 0.616 GB, free: 72.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002085/1.487, allocations: 207.8 kB / 0.6162 GB, free: 72.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/1.49, allocations: 1.019 MB / 0.6172 GB, free: 72.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03188/1.522, allocations: 9.297 MB / 0.6263 GB, free: 72.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06798/1.59, allocations: 47.58 MB / 0.6728 GB, free: 38.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/1.608, allocations: 4.139 MB / 0.6768 GB, free: 37.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01662/1.625, allocations: 7.518 MB / 0.6841 GB, free: 32.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/1.625, allocations: 50.22 kB / 0.6842 GB, free: 32.56 MB / 426.7 MB Notification: Performance of pre-optimization done (n=180): time 5.991e-06/1.625, allocations: 0 / 0.6842 GB, free: 32.56 MB / 426.7 MB Notification: Performance of matching and sorting (n=236): time 0.3087/1.934, allocations: 41.04 MB / 0.7243 GB, free: 13.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/1.934, allocations: 201.9 kB / 0.7245 GB, free: 13.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009316/1.943, allocations: 3.793 MB / 0.7282 GB, free: 9.625 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007024/1.944, allocations: 69.06 kB / 0.7282 GB, free: 9.555 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.947, allocations: 3.223 MB / 0.7314 GB, free: 6.328 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001526/1.949, allocations: 0.8782 MB / 0.7322 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.95, allocations: 124 kB / 0.7324 GB, free: 5.336 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005304/1.95, allocations: 0.5743 MB / 0.7329 GB, free: 4.754 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008046/1.958, allocations: 3.421 MB / 0.7363 GB, free: 1.328 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01307/1.971, allocations: 7.026 MB / 0.7431 GB, free: 8.504 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.984, allocations: 4.763 MB / 0.7478 GB, free: 3.746 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001387/1.984, allocations: 36 kB / 0.7478 GB, free: 3.711 MB / 442.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.3773/2.361, allocations: 15.43 MB / 0.7629 GB, free: 80.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/2.362, allocations: 59 kB / 0.7629 GB, free: 80.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002337/2.362, allocations: 127.8 kB / 0.7631 GB, free: 80.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04178/2.404, allocations: 5.937 MB / 0.7688 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009552/2.413, allocations: 1.423 MB / 0.7702 GB, free: 80.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05745/2.471, allocations: 25.7 MB / 0.7953 GB, free: 76.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008646/2.48, allocations: 394.2 kB / 0.7957 GB, free: 76.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/2.481, allocations: 378.6 kB / 0.7961 GB, free: 76.04 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 39 (b3.color[3],b3.color[2],b3.color[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (743): * Single equations (assignments): 738 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 51} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006317/2.488, allocations: 2.218 MB / 0.7982 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/2.489, allocations: 395.7 kB / 0.7986 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05019/2.539, allocations: 10.82 MB / 0.8092 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/2.539, allocations: 25.25 kB / 0.8092 GB, free: 71.9 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/2.539, allocations: 16.84 kB / 0.8092 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.324e-05/2.539, allocations: 13.66 kB / 0.8092 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07134/2.611, allocations: 20.21 MB / 0.829 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.235e-05/2.611, allocations: 6.156 kB / 0.829 GB, free: 63.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003795/2.615, allocations: 381.4 kB / 0.8293 GB, free: 63.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03617/2.651, allocations: 4.99 MB / 0.8342 GB, free: 63.12 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006665/2.651, allocations: 45.44 kB / 0.8343 GB, free: 63.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0452/2.697, allocations: 20.89 MB / 0.8547 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/2.697, allocations: 6.875 kB / 0.8547 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05347/2.75, allocations: 14.59 MB / 0.8689 GB, free: 41.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003446/2.754, allocations: 0.9568 MB / 0.8699 GB, free: 40.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001463/2.755, allocations: 49.12 kB / 0.8699 GB, free: 40.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004906/2.76, allocations: 167.8 kB / 0.8701 GB, free: 40.28 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/2.761, allocations: 160 kB / 0.8702 GB, free: 40.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003567/2.762, allocations: 65.08 kB / 0.8703 GB, free: 40.06 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006625/2.768, allocations: 2.683 MB / 0.8729 GB, free: 37.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.42e-07/2.768, allocations: 0 / 0.8729 GB, free: 37.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008296/2.777, allocations: 1.32 MB / 0.8742 GB, free: 36.07 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 (167): * Single equations (assignments): 162 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 45} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.05352/2.83, allocations: 16.38 MB / 0.8902 GB, free: 19.56 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01775/2.848, allocations: 7.95 MB / 0.898 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/2.848, allocations: 4 kB / 0.898 GB, free: 11.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007318/2.856, allocations: 3.105 MB / 0.901 GB, free: 8.543 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004502/2.86, allocations: 494.7 kB / 0.9015 GB, free: 8.086 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3756/3.236, allocations: 108.5 MB / 1.007 GB, free: 45.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007862/3.244, allocations: 3.607 MB / 1.011 GB, free: 44.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00899/3.253, allocations: 1.966 MB / 1.013 GB, free: 44.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005308/3.258, allocations: 2.07 MB / 1.015 GB, free: 44.9 MB / 0.4948 GB Notification: Performance of SimCode: time 1.623e-06/3.258, allocations: 1.094 kB / 1.015 GB, free: 44.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2376/3.496, allocations: 108.3 MB / 1.121 GB, free: 1.145 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003425/3.496, allocations: 204.6 kB / 1.121 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.95/9.446, allocations: 3.938 kB / 1.121 GB, free: 0.9062 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat