Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.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.FourbarVariants.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.01016/0.01016, allocations: 175.9 kB / 15.12 MB, free: 5.934 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.956/1.956, allocations: 194.5 MB / 210.3 MB, free: 7.801 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.002756/0.002756, allocations: 112.6 kB / 255.6 MB, free: 10.43 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.2529/0.2529, allocations: 40.02 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006535/0.0006535, allocations: 9.844 kB / 406.3 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.102, allocations: 54.87 MB / 461.1 MB, free: 3.227 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5346/0.6366, allocations: 100.3 MB / 0.5482 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.637, allocations: 80.27 kB / 0.5483 GB, free: 21.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4165/1.053, allocations: 94.69 MB / 0.6408 GB, free: 2.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.386e-06/1.054, allocations: 0 / 0.6408 GB, free: 2.809 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000366/1.054, allocations: 91.94 kB / 0.6409 GB, free: 2.719 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0224/1.076, allocations: 5.027 MB / 0.6458 GB, free: 13.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/1.076, allocations: 8.031 kB / 0.6458 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004568/1.081, allocations: 0.9082 MB / 0.6467 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05167/1.133, allocations: 6.733 MB / 0.6532 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02533/1.158, allocations: 6.329 MB / 0.6594 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005105/1.159, allocations: 328.5 kB / 0.6597 GB, free: 15.22 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/1.161, allocations: 447.8 kB / 0.6602 GB, free: 14.78 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03761/1.199, allocations: 11.05 MB / 0.671 GB, free: 2.703 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003677/1.199, allocations: 75.36 kB / 0.671 GB, free: 2.629 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002072/1.202, allocations: 211.9 kB / 0.6712 GB, free: 2.422 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002644/1.204, allocations: 1.015 MB / 0.6722 GB, free: 1.398 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03295/1.237, allocations: 9.291 MB / 0.6813 GB, free: 8.086 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4441/1.681, allocations: 47.57 MB / 0.7278 GB, free: 81.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/1.702, allocations: 4.146 MB / 0.7318 GB, free: 81.08 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01956/1.721, allocations: 7.501 MB / 0.7391 GB, free: 78.69 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.906e-05/1.721, allocations: 55.19 kB / 0.7392 GB, free: 78.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=180): time 7.144e-06/1.721, allocations: 0 / 0.7392 GB, free: 78.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=236): time 0.3343/2.056, allocations: 41.04 MB / 0.7793 GB, free: 75.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/2.056, allocations: 212 kB / 0.7795 GB, free: 75.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01214/2.068, allocations: 3.793 MB / 0.7832 GB, free: 74.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008825/2.069, allocations: 64.2 kB / 0.7832 GB, free: 74.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004174/2.073, allocations: 3.233 MB / 0.7864 GB, free: 73.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001948/2.075, allocations: 0.8707 MB / 0.7872 GB, free: 72.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001436/2.077, allocations: 127 kB / 0.7874 GB, free: 72.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006588/2.077, allocations: 0.564 MB / 0.7879 GB, free: 72.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01084/2.088, allocations: 3.422 MB / 0.7912 GB, free: 72.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01419/2.103, allocations: 7.027 MB / 0.7981 GB, free: 67.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01447/2.117, allocations: 4.764 MB / 0.8028 GB, free: 65.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001526/2.117, allocations: 37.16 kB / 0.8028 GB, free: 65.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.0691/2.186, allocations: 15.44 MB / 0.8179 GB, free: 56.99 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000169/2.187, allocations: 60 kB / 0.8179 GB, free: 56.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003467/2.187, allocations: 124 kB / 0.818 GB, free: 56.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04713/2.234, allocations: 5.941 MB / 0.8238 GB, free: 53.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009197/2.243, allocations: 1.426 MB / 0.8252 GB, free: 52.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05562/2.299, allocations: 25.72 MB / 0.8504 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008774/2.308, allocations: 383.4 kB / 0.8507 GB, free: 27.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001729/2.31, allocations: 380.9 kB / 0.8511 GB, free: 27.02 MB / 490.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.006791/2.317, allocations: 2.217 MB / 0.8533 GB, free: 24.79 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001292/2.318, allocations: 398.8 kB / 0.8536 GB, free: 24.39 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05153/2.369, allocations: 10.82 MB / 0.8642 GB, free: 13.54 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.363e-05/2.369, allocations: 24.78 kB / 0.8642 GB, free: 13.52 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/2.37, allocations: 11.98 kB / 0.8642 GB, free: 13.51 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.096e-05/2.37, allocations: 11.97 kB / 0.8643 GB, free: 13.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07766/2.447, allocations: 20.21 MB / 0.884 GB, free: 8.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.305e-05/2.447, allocations: 4 kB / 0.884 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004715/2.452, allocations: 383.4 kB / 0.8844 GB, free: 8.461 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03974/2.492, allocations: 4.989 MB / 0.8892 GB, free: 3.461 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007579/2.493, allocations: 44 kB / 0.8893 GB, free: 3.418 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0551/2.548, allocations: 20.88 MB / 0.9097 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.12e-05/2.548, allocations: 4 kB / 0.9097 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4108/2.959, allocations: 14.58 MB / 0.9239 GB, free: 147.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003705/2.962, allocations: 0.9571 MB / 0.9248 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.964, allocations: 42.59 kB / 0.9249 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005101/2.969, allocations: 167.5 kB / 0.925 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001252/2.971, allocations: 155 kB / 0.9252 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003701/2.971, allocations: 63.64 kB / 0.9253 GB, free: 147.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008133/2.979, allocations: 2.682 MB / 0.9279 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/2.979, allocations: 2.656 kB / 0.9279 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009246/2.988, allocations: 1.324 MB / 0.9292 GB, free: 147.5 MB / 0.5261 GB 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.05821/3.047, allocations: 16.38 MB / 0.9452 GB, free: 144.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0177/3.064, allocations: 7.96 MB / 0.9529 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/3.064, allocations: 3.906 kB / 0.9529 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007141/3.072, allocations: 3.107 MB / 0.956 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004728/3.076, allocations: 490.1 kB / 0.9564 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05929/3.136, allocations: 108.5 MB / 1.062 GB, free: 43.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007626/3.143, allocations: 3.607 MB / 1.066 GB, free: 42 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009193/3.153, allocations: 1.963 MB / 1.068 GB, free: 41.84 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005406/3.158, allocations: 2.07 MB / 1.07 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of SimCode: time 2.074e-06/3.158, allocations: 0 / 1.07 GB, free: 40.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5837/3.742, allocations: 108.3 MB / 1.176 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002238/3.742, allocations: 220.5 kB / 1.176 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.05/9.792, allocations: 0 / 1.176 GB, free: 140.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat