Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01115/0.01116, allocations: 106.3 kB / 15.06 MB, free: 6.023 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001187/0.001187, allocations: 181.9 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.019/2.019, allocations: 194.5 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2984/0.2984, allocations: 40.04 MB / 296.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004774, allocations: 12 kB / 361.1 MB, free: 9.555 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1164, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalSpherical): time 0.3658/0.4823, allocations: 38.53 MB / 454.6 MB, free: 30.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0246/0.507, allocations: 9.696 MB / 464.3 MB, free: 30.08 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007989/0.515, allocations: 195.5 kB / 464.4 MB, free: 30.04 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006339/0.5214, allocations: 1.921 MB / 466.4 MB, free: 29.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.542, allocations: 5.644 MB / 472 MB, free: 29.29 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00401/0.5461, allocations: 0.7675 MB / 472.8 MB, free: 29.27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06481/0.6109, allocations: 17.84 MB / 490.6 MB, free: 27.19 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01242/0.6234, allocations: 4.227 MB / 494.8 MB, free: 26.78 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004233/0.6277, allocations: 1.179 MB / 496 MB, free: 26.59 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004465/0.6322, allocations: 1.742 MB / 497.8 MB, free: 26.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001736/0.634, allocations: 178.1 kB / 497.9 MB, free: 26.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004328/0.6383, allocations: 1.103 MB / 499 MB, free: 26.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003734/0.6421, allocations: 1.816 MB / 0.4891 GB, free: 26.12 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002412/0.6446, allocations: 0.8941 MB / 0.49 GB, free: 25.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009665/0.6543, allocations: 6.173 MB / 0.496 GB, free: 22.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6543, allocations: 0 / 0.496 GB, free: 22.62 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.6544, allocations: 0 / 0.496 GB, free: 22.62 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003161/0.6547, allocations: 0 / 0.496 GB, free: 22.62 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01808/0.6728, allocations: 4.915 MB / 0.5008 GB, free: 19.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.6729, allocations: 12.38 kB / 0.5008 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003099/0.676, allocations: 0.8032 MB / 0.5016 GB, free: 19.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1195/0.7955, allocations: 7.898 MB / 0.5093 GB, free: 11.64 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01214/0.8077, allocations: 3.84 MB / 0.5131 GB, free: 7.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.808, allocations: 246.8 kB / 0.5133 GB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/0.8099, allocations: 331.5 kB / 0.5136 GB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03022/0.8402, allocations: 10.9 MB / 0.5243 GB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000234/0.8405, allocations: 49.66 kB / 0.5243 GB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001147/0.8416, allocations: 154.6 kB / 0.5245 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005291/0.847, allocations: 1.942 MB / 0.5264 GB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03208/0.8791, allocations: 9.333 MB / 0.5355 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07633/0.9555, allocations: 41.07 MB / 0.5756 GB, free: 6.266 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01973/0.9753, allocations: 4.253 MB / 0.5797 GB, free: 1.867 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01975/0.9951, allocations: 7.594 MB / 0.5872 GB, free: 9.941 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.9952, allocations: 55.5 kB / 0.5872 GB, free: 9.879 MB / 458.7 MB Notification: Performance of pre-optimization done (n=180): time 6.522e-06/0.9952, allocations: 0 / 0.5872 GB, free: 9.879 MB / 458.7 MB Notification: Performance of matching and sorting (n=236): time 0.3216/1.317, allocations: 41.53 MB / 0.6278 GB, free: 232 kB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3216/1.639, allocations: 201.9 kB / 0.628 GB, free: 152.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009318/1.648, allocations: 4.551 MB / 0.6324 GB, free: 152.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/1.649, allocations: 60.17 kB / 0.6325 GB, free: 152.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002961/1.652, allocations: 3.212 MB / 0.6356 GB, free: 151 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001435/1.653, allocations: 0.8742 MB / 0.6365 GB, free: 150.5 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009075/1.654, allocations: 126.9 kB / 0.6366 GB, free: 150.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005354/1.655, allocations: 0.5701 MB / 0.6371 GB, free: 150.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008216/1.663, allocations: 3.466 MB / 0.6405 GB, free: 149 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/1.674, allocations: 7.039 MB / 0.6474 GB, free: 142.9 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01059/1.684, allocations: 4.797 MB / 0.6521 GB, free: 141 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001653/1.684, allocations: 37.44 kB / 0.6521 GB, free: 141 MB / 490.7 MB Notification: Performance of matching and sorting (n=815) (initialization): time 0.06479/1.749, allocations: 15.63 MB / 0.6674 GB, free: 136 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/1.749, allocations: 58.81 kB / 0.6674 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/1.75, allocations: 125.7 kB / 0.6676 GB, free: 136 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04459/1.794, allocations: 6.111 MB / 0.6735 GB, free: 135 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009632/1.804, allocations: 1.432 MB / 0.6749 GB, free: 134.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05797/1.862, allocations: 26.38 MB / 0.7007 GB, free: 121.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008666/1.871, allocations: 403.4 kB / 0.7011 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/1.872, allocations: 372 kB / 0.7014 GB, free: 120.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 573 * 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 (738): * Single equations (assignments): 733 * 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.005876/1.878, allocations: 2.212 MB / 0.7036 GB, free: 118.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.879, allocations: 402.8 kB / 0.704 GB, free: 117.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05071/1.93, allocations: 11.06 MB / 0.7148 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.834e-05/1.93, allocations: 28 kB / 0.7148 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.915e-05/1.93, allocations: 12 kB / 0.7148 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.795e-05/1.93, allocations: 11.95 kB / 0.7148 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07412/2.004, allocations: 20.6 MB / 0.7349 GB, free: 85.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-05/2.004, allocations: 8.594 kB / 0.7349 GB, free: 85.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003884/2.008, allocations: 389.6 kB / 0.7353 GB, free: 85.28 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03685/2.045, allocations: 5.183 MB / 0.7404 GB, free: 80.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006704/2.046, allocations: 41.31 kB / 0.7404 GB, free: 80.04 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05249/2.099, allocations: 21.49 MB / 0.7614 GB, free: 58.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.265e-05/2.099, allocations: 11.94 kB / 0.7614 GB, free: 58.29 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06691/2.166, allocations: 14.91 MB / 0.776 GB, free: 43.08 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003655/2.169, allocations: 0.9839 MB / 0.7769 GB, free: 42.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00145/2.171, allocations: 43.92 kB / 0.777 GB, free: 42.03 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004932/2.176, allocations: 186.4 kB / 0.7771 GB, free: 41.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001263/2.177, allocations: 153 kB / 0.7773 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/2.177, allocations: 60 kB / 0.7774 GB, free: 41.64 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006311/2.184, allocations: 2.91 MB / 0.7802 GB, free: 38.72 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.184, allocations: 4 kB / 0.7802 GB, free: 38.72 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008237/2.192, allocations: 1.349 MB / 0.7815 GB, free: 37.38 MB / 490.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.05398/2.246, allocations: 16.72 MB / 0.7978 GB, free: 20.49 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01804/2.264, allocations: 8.044 MB / 0.8057 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.147e-05/2.264, allocations: 4 kB / 0.8057 GB, free: 12.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.4321/2.696, allocations: 3.163 MB / 0.8088 GB, free: 149.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005722/2.702, allocations: 492.3 kB / 0.8093 GB, free: 149.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07939/2.782, allocations: 107.8 MB / 0.9146 GB, free: 49.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006957/2.789, allocations: 3.611 MB / 0.9181 GB, free: 47.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008884/2.797, allocations: 1.966 MB / 0.92 GB, free: 47.65 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005206/2.803, allocations: 2.076 MB / 0.922 GB, free: 45.98 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/2.803, allocations: 0 / 0.922 GB, free: 45.98 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5686/3.371, allocations: 110.2 MB / 1.03 GB, free: 137.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002354/3.372, allocations: 222.4 kB / 1.03 GB, free: 136.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.786/9.158, allocations: 0 / 1.03 GB, free: 136.8 MB / 490.7 MB 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