Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.SphericalAndUniversal,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_SphericalAndUniversal",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.01161/0.01162, allocations: 108.3 kB / 15.06 MB, free: 5.555 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.001229/0.001229, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.054/2.054, allocations: 194.6 MB / 211.3 MB, free: 10.96 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.2647/0.2647, allocations: 40.04 MB / 296.5 MB, free: 6.137 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006342/0.0006343, allocations: 12 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1234, allocations: 54.87 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.4011/0.5247, allocations: 51.1 MB / 467.1 MB, free: 30.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03162/0.5563, allocations: 12.43 MB / 479.5 MB, free: 27.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01143/0.5678, allocations: 262.8 kB / 479.8 MB, free: 27.33 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008628/0.5765, allocations: 2.6 MB / 482.4 MB, free: 26.54 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02721/0.6038, allocations: 7.419 MB / 489.8 MB, free: 24.52 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005178/0.609, allocations: 0.904 MB / 490.7 MB, free: 24.16 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05527/0.6643, allocations: 18.33 MB / 0.4971 GB, free: 19.17 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01117/0.6756, allocations: 5.522 MB / 0.5025 GB, free: 16.54 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.6791, allocations: 1.344 MB / 0.5038 GB, free: 15.82 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003876/0.683, allocations: 1.799 MB / 0.5056 GB, free: 14.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001244/0.6843, allocations: 177.8 kB / 0.5058 GB, free: 14.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003725/0.6881, allocations: 1.099 MB / 0.5068 GB, free: 14.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003197/0.6913, allocations: 2.006 MB / 0.5088 GB, free: 12.76 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.6933, allocations: 1.034 MB / 0.5098 GB, free: 11.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009407/0.7028, allocations: 6.932 MB / 0.5166 GB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.7029, allocations: 0 / 0.5166 GB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.7029, allocations: 4 kB / 0.5166 GB, free: 4.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003308/0.7032, allocations: 0 / 0.5166 GB, free: 4.77 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: 1726 * Number of variables: 1726 Notification: Performance of Generate backend data structure: time 0.02083/0.7241, allocations: 5.582 MB / 0.522 GB, free: 15.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.7241, allocations: 12.03 kB / 0.522 GB, free: 15.1 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00357/0.7277, allocations: 0.9079 MB / 0.5229 GB, free: 14.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09219/0.8199, allocations: 7.95 MB / 0.5307 GB, free: 6.215 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02065/0.8407, allocations: 4.513 MB / 0.5351 GB, free: 1.621 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005738/0.8413, allocations: 283.3 kB / 0.5354 GB, free: 1.344 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002519/0.8438, allocations: 383.7 kB / 0.5357 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04718/0.8911, allocations: 12.06 MB / 0.5475 GB, free: 4.121 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003123/0.8914, allocations: 65.14 kB / 0.5476 GB, free: 4.059 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00162/0.8931, allocations: 175.9 kB / 0.5477 GB, free: 3.887 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005683/0.8988, allocations: 2.081 MB / 0.5498 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03501/0.9338, allocations: 10.31 MB / 0.5598 GB, free: 7.488 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09112/1.025, allocations: 47.4 MB / 0.6061 GB, free: 6.77 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02689/1.052, allocations: 5.884 MB / 0.6119 GB, free: 0.7383 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02365/1.076, allocations: 8.861 MB / 0.6205 GB, free: 7.715 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.422e-05/1.076, allocations: 59.8 kB / 0.6206 GB, free: 7.648 MB / 490.7 MB Notification: Performance of pre-optimization done (n=206): time 6.282e-06/1.076, allocations: 0 / 0.6206 GB, free: 7.648 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.5616/1.637, allocations: 35.61 MB / 0.6554 GB, free: 149.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/1.638, allocations: 209.9 kB / 0.6556 GB, free: 149.4 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01435/1.652, allocations: 5.142 MB / 0.6606 GB, free: 147.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007049/1.653, allocations: 62.3 kB / 0.6606 GB, free: 147.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003497/1.656, allocations: 3.582 MB / 0.6641 GB, free: 144.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0017/1.658, allocations: 0.9656 MB / 0.6651 GB, free: 144.1 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008917/1.659, allocations: 130.8 kB / 0.6652 GB, free: 144 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005702/1.66, allocations: 0.5881 MB / 0.6658 GB, free: 143.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00838/1.668, allocations: 3.001 MB / 0.6687 GB, free: 142.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/1.679, allocations: 6.766 MB / 0.6753 GB, free: 136.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/1.689, allocations: 4.42 MB / 0.6796 GB, free: 134.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.689, allocations: 41.66 kB / 0.6797 GB, free: 134.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.05235/1.742, allocations: 13.12 MB / 0.6925 GB, free: 128 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001595/1.742, allocations: 61.25 kB / 0.6925 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002504/1.742, allocations: 132.9 kB / 0.6927 GB, free: 127.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03222/1.774, allocations: 4.253 MB / 0.6968 GB, free: 123.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0123/1.787, allocations: 1.407 MB / 0.6982 GB, free: 122.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07217/1.859, allocations: 27.39 MB / 0.7249 GB, free: 94.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008218/1.867, allocations: 399.3 kB / 0.7253 GB, free: 93.98 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/1.869, allocations: 396 kB / 0.7257 GB, free: 93.6 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * 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 (753): * Single equations (assignments): 747 * 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.006333/1.875, allocations: 2.46 MB / 0.7281 GB, free: 91.12 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001352/1.876, allocations: 446.9 kB / 0.7285 GB, free: 90.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02822/1.905, allocations: 8.218 MB / 0.7366 GB, free: 82.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.078e-05/1.905, allocations: 30.91 kB / 0.7366 GB, free: 82.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.111e-05/1.905, allocations: 15.95 kB / 0.7366 GB, free: 82.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-05/1.905, allocations: 11.95 kB / 0.7366 GB, free: 82.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05071/1.956, allocations: 16.89 MB / 0.7531 GB, free: 65.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.511e-05/1.956, allocations: 9.422 kB / 0.7531 GB, free: 65.39 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002763/1.958, allocations: 300.1 kB / 0.7534 GB, free: 65.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01965/1.978, allocations: 3.945 MB / 0.7573 GB, free: 61.14 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006233/1.979, allocations: 48 kB / 0.7573 GB, free: 61.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05465/2.033, allocations: 26.2 MB / 0.7829 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/2.034, allocations: 4 kB / 0.7829 GB, free: 34.49 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03528/2.069, allocations: 12.75 MB / 0.7953 GB, free: 21.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003513/2.072, allocations: 0.9754 MB / 0.7963 GB, free: 20.45 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.074, allocations: 49.02 kB / 0.7963 GB, free: 20.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004485/2.078, allocations: 167.8 kB / 0.7965 GB, free: 20.23 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001234/2.08, allocations: 198.1 kB / 0.7967 GB, free: 20.04 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003115/2.08, allocations: 68 kB / 0.7967 GB, free: 19.97 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0068/2.087, allocations: 3.312 MB / 0.8 GB, free: 16.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.087, allocations: 0 / 0.8 GB, free: 16.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008961/2.096, allocations: 1.437 MB / 0.8014 GB, free: 15.24 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 (158): * Single equations (assignments): 152 * 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.3578/2.454, allocations: 14.54 MB / 0.8156 GB, free: 136.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02105/2.475, allocations: 8.114 MB / 0.8235 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/2.475, allocations: 0 / 0.8235 GB, free: 135.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009742/2.485, allocations: 3.517 MB / 0.8269 GB, free: 133.5 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004908/2.49, allocations: 0.5424 MB / 0.8275 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2039/2.693, allocations: 141.1 MB / 0.9653 GB, free: 11.84 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01901/2.713, allocations: 4.033 MB / 0.9692 GB, free: 10.39 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01121/2.724, allocations: 2.008 MB / 0.9712 GB, free: 9.766 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006933/2.731, allocations: 2.377 MB / 0.9735 GB, free: 7.57 MB / 490.7 MB Notification: Performance of SimCode: time 2.294e-06/2.731, allocations: 0 / 0.9735 GB, free: 7.57 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.65/3.381, allocations: 118.9 MB / 1.09 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/3.381, allocations: 223 kB / 1.09 GB, free: 99.82 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.281/9.662, allocations: 0 / 1.09 GB, free: 99.82 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat does not exist to compare? outputFormat=mat