Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_FourbarVariants_UniversalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01104/0.01105, allocations: 106.6 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.1.mo): time 0.001227/0.001227, allocations: 169 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.543/1.543, allocations: 170.9 MB / 187.6 MB, free: 1 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2765/0.2765, allocations: 38.09 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004621, allocations: 16 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08748/0.08796, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.06642/0.1544, allocations: 43.89 MB / 416.2 MB, free: 0.8438 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02871/0.1832, allocations: 10.74 MB / 426.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008281/0.1915, allocations: 219.4 kB / 427.1 MB, free: 5.859 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007521/0.1991, allocations: 2.228 MB / 429.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3082/0.5074, allocations: 6.467 MB / 435.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005319/0.5127, allocations: 0.8571 MB / 436.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.06848/0.5813, allocations: 18.59 MB / 455.3 MB, free: 9.027 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01212/0.5935, allocations: 5.085 MB / 460.4 MB, free: 7.508 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003512/0.597, allocations: 1.568 MB / 461.9 MB, free: 7.211 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004487/0.6016, allocations: 2.274 MB / 464.2 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001577/0.6032, allocations: 237.5 kB / 464.4 MB, free: 6.676 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003911/0.6071, allocations: 1.162 MB / 465.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003892/0.6111, allocations: 2.391 MB / 468 MB, free: 4.598 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002304/0.6134, allocations: 1.2 MB / 469.2 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.6252, allocations: 8.131 MB / 477.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6252, allocations: 0 / 477.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6253, allocations: 0 / 477.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003114/0.6256, allocations: 1.969 kB / 477.3 MB, free: 13.12 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2238 * Number of variables: 2238 Notification: Performance of Generate backend data structure: time 0.02426/0.6499, allocations: 6.522 MB / 483.8 MB, free: 7.07 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.6499, allocations: 8.031 kB / 483.9 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003861/0.6538, allocations: 1.137 MB / 485 MB, free: 6.324 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1033/0.7572, allocations: 9.729 MB / 494.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.773, allocations: 4.686 MB / 499.4 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004274/0.7735, allocations: 316.8 kB / 499.7 MB, free: 9.793 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/0.7761, allocations: 430.5 kB / 0.4884 GB, free: 9.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04283/0.819, allocations: 15.78 MB / 0.5038 GB, free: 13.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002359/0.8193, allocations: 61.2 kB / 0.5039 GB, free: 13.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001061/0.8204, allocations: 205 kB / 0.5041 GB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008394/0.8288, allocations: 3.156 MB / 0.5072 GB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04424/0.8731, allocations: 14.08 MB / 0.5209 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1167/0.9899, allocations: 57.47 MB / 0.577 GB, free: 6.398 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02492/1.015, allocations: 6.599 MB / 0.5835 GB, free: 15.54 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0407/1.056, allocations: 14.56 MB / 0.5977 GB, free: 0.5625 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.393e-05/1.056, allocations: 64.5 kB / 0.5978 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 7.254e-06/1.056, allocations: 4 kB / 0.5978 GB, free: 500 kB / 458.7 MB Notification: Performance of matching and sorting (n=339): time 0.547/1.603, allocations: 42.97 MB / 0.6397 GB, free: 150 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.741e-05/1.603, allocations: 214 kB / 0.6399 GB, free: 149.8 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/1.614, allocations: 5.707 MB / 0.6455 GB, free: 144.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009538/1.615, allocations: 70.88 kB / 0.6456 GB, free: 144 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003386/1.618, allocations: 4.404 MB / 0.6499 GB, free: 139.6 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001994/1.62, allocations: 1.257 MB / 0.6511 GB, free: 138.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/1.621, allocations: 177.7 kB / 0.6513 GB, free: 138.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000581/1.622, allocations: 0.6779 MB / 0.6519 GB, free: 137.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01049/1.632, allocations: 4.604 MB / 0.6564 GB, free: 132.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01342/1.646, allocations: 9.523 MB / 0.6657 GB, free: 121 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/1.66, allocations: 6.477 MB / 0.6721 GB, free: 114.5 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/1.66, allocations: 52 kB / 0.6721 GB, free: 114.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.07039/1.73, allocations: 18.93 MB / 0.6906 GB, free: 95.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/1.73, allocations: 80 kB / 0.6907 GB, free: 95.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/1.731, allocations: 172 kB / 0.6908 GB, free: 95.19 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04062/1.771, allocations: 5.829 MB / 0.6965 GB, free: 89.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01303/1.784, allocations: 2.055 MB / 0.6985 GB, free: 87.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04965/1.834, allocations: 24.96 MB / 0.7229 GB, free: 62.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/1.845, allocations: 0.549 MB / 0.7234 GB, free: 61.52 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001763/1.846, allocations: 0.496 MB / 0.7239 GB, free: 61.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 42 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.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 (1055): * Single equations (assignments): 1047 * Array equations: 6 * 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 {(2,100.0%) 42} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007804/1.854, allocations: 3.094 MB / 0.7269 GB, free: 57.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001424/1.856, allocations: 0.5013 MB / 0.7274 GB, free: 57.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05299/1.909, allocations: 12.67 MB / 0.7398 GB, free: 44.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001207/1.909, allocations: 61.86 kB / 0.7399 GB, free: 44.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.032e-05/1.909, allocations: 15.89 kB / 0.7399 GB, free: 44.6 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.768e-05/1.909, allocations: 15.94 kB / 0.7399 GB, free: 44.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.389/2.298, allocations: 24.44 MB / 0.7638 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.092e-05/2.298, allocations: 5.812 kB / 0.7638 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00593/2.304, allocations: 0.5738 MB / 0.7643 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03691/2.341, allocations: 4.837 MB / 0.7691 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009547/2.342, allocations: 58.45 kB / 0.7691 GB, free: 147.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04508/2.387, allocations: 20.19 MB / 0.7888 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-06/2.387, allocations: 7.875 kB / 0.7888 GB, free: 140.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06911/2.456, allocations: 17.83 MB / 0.8063 GB, free: 131.7 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005578/2.462, allocations: 1.256 MB / 0.8075 GB, free: 131.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001852/2.464, allocations: 56.53 kB / 0.8075 GB, free: 131.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007967/2.472, allocations: 257 kB / 0.8078 GB, free: 131 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001733/2.473, allocations: 193.8 kB / 0.808 GB, free: 130.9 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006069/2.474, allocations: 78.94 kB / 0.808 GB, free: 130.9 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009976/2.484, allocations: 3.605 MB / 0.8116 GB, free: 129.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.484, allocations: 0 / 0.8116 GB, free: 129.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01431/2.498, allocations: 1.727 MB / 0.8132 GB, free: 127.9 MB / 458.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 (254): * Single equations (assignments): 246 * Array equations: 6 * 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 {(2,100.0%) 38} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06367/2.562, allocations: 19.55 MB / 0.8323 GB, free: 108.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02261/2.585, allocations: 10.61 MB / 0.8427 GB, free: 97.74 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.308e-06/2.585, allocations: 0.7656 kB / 0.8427 GB, free: 97.74 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008478/2.593, allocations: 4.053 MB / 0.8467 GB, free: 93.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004455/2.598, allocations: 0.5757 MB / 0.8472 GB, free: 93.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3736/2.971, allocations: 148.8 MB / 0.9925 GB, free: 90.07 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01115/2.983, allocations: 4.752 MB / 0.9972 GB, free: 89.21 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01456/2.997, allocations: 2.989 MB / 1 GB, free: 89.13 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007574/3.005, allocations: 2.921 MB / 1.003 GB, free: 89.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.693e-06/3.005, allocations: 0 / 1.003 GB, free: 89.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5943/3.599, allocations: 135.3 MB / 1.135 GB, free: 137.5 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/3.599, allocations: 220 kB / 1.135 GB, free: 137.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.699/10.3, allocations: 3.938 kB / 1.135 GB, free: 137.2 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat