Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01129/0.01129, allocations: 109.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.2.mo): time 0.001238/0.001238, allocations: 176.9 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.008/2.008, allocations: 194.6 MB / 211.3 MB, free: 11.19 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.3064/0.3064, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004734, allocations: 12 kB / 361.1 MB, free: 9.566 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1152, allocations: 54.88 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.3942/0.5094, allocations: 43.9 MB / 459.9 MB, free: 30.42 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02662/0.5361, allocations: 10.77 MB / 470.7 MB, free: 29.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009849/0.546, allocations: 220.1 kB / 470.9 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007625/0.5537, allocations: 2.221 MB / 473.1 MB, free: 28.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02287/0.5766, allocations: 6.469 MB / 479.6 MB, free: 28.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004344/0.581, allocations: 0.8546 MB / 480.5 MB, free: 28.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06549/0.6466, allocations: 18.58 MB / 499 MB, free: 26.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01409/0.6607, allocations: 5.093 MB / 0.4923 GB, free: 24.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004258/0.6651, allocations: 1.563 MB / 0.4938 GB, free: 23.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004933/0.67, allocations: 2.271 MB / 0.4961 GB, free: 22.33 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001734/0.6718, allocations: 242.2 kB / 0.4963 GB, free: 22.32 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004226/0.6761, allocations: 1.152 MB / 0.4974 GB, free: 21.86 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004141/0.6803, allocations: 2.403 MB / 0.4998 GB, free: 20.62 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002475/0.6828, allocations: 1.198 MB / 0.5009 GB, free: 19.78 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.6941, allocations: 8.14 MB / 0.5089 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.6942, allocations: 0.6562 kB / 0.5089 GB, free: 12.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.866e-06/0.6942, allocations: 0 / 0.5089 GB, free: 12.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004014/0.6946, allocations: 0 / 0.5089 GB, free: 12.7 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: 2239 * Number of variables: 2239 Notification: Performance of Generate backend data structure: time 0.02187/0.7165, allocations: 6.526 MB / 0.5152 GB, free: 6.094 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.7166, allocations: 8.031 kB / 0.5153 GB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003793/0.7204, allocations: 1.129 MB / 0.5164 GB, free: 4.941 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09651/0.8169, allocations: 9.723 MB / 0.5259 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0165/0.8335, allocations: 4.686 MB / 0.5304 GB, free: 6.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/0.834, allocations: 320.1 kB / 0.5307 GB, free: 6.133 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/0.8365, allocations: 431.6 kB / 0.5311 GB, free: 5.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04467/0.8812, allocations: 15.79 MB / 0.5466 GB, free: 5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002941/0.8815, allocations: 59.38 kB / 0.5466 GB, free: 4.941 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002075/0.8836, allocations: 207.8 kB / 0.5468 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008967/0.8926, allocations: 3.161 MB / 0.5499 GB, free: 1.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04636/0.939, allocations: 14.08 MB / 0.5637 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1172/1.056, allocations: 57.48 MB / 0.6198 GB, free: 8.465 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02483/1.081, allocations: 6.58 MB / 0.6262 GB, free: 1.629 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3758/1.457, allocations: 14.57 MB / 0.6404 GB, free: 144.9 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/1.457, allocations: 67.5 kB / 0.6405 GB, free: 144.9 MB / 490.7 MB Notification: Performance of pre-optimization done (n=289): time 7.865e-06/1.457, allocations: 0 / 0.6405 GB, free: 144.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=339): time 0.3514/1.809, allocations: 42.98 MB / 0.6825 GB, free: 133.7 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.809, allocations: 212.5 kB / 0.6827 GB, free: 133.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0114/1.82, allocations: 5.702 MB / 0.6882 GB, free: 130.6 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009903/1.821, allocations: 80.89 kB / 0.6883 GB, free: 130.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00359/1.825, allocations: 4.403 MB / 0.6926 GB, free: 126.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002122/1.827, allocations: 1.242 MB / 0.6938 GB, free: 125.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/1.828, allocations: 170 kB / 0.694 GB, free: 125.5 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005428/1.829, allocations: 0.6935 MB / 0.6947 GB, free: 124.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01065/1.839, allocations: 4.607 MB / 0.6992 GB, free: 120.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01415/1.854, allocations: 9.526 MB / 0.7085 GB, free: 108.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01448/1.868, allocations: 6.477 MB / 0.7148 GB, free: 101.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000128/1.868, allocations: 52 kB / 0.7148 GB, free: 101.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=1146) (initialization): time 0.07167/1.94, allocations: 18.93 MB / 0.7333 GB, free: 82.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001119/1.94, allocations: 84.06 kB / 0.7334 GB, free: 82.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/1.94, allocations: 176 kB / 0.7336 GB, free: 82.42 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0415/1.982, allocations: 5.827 MB / 0.7393 GB, free: 76.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.013/1.995, allocations: 2.051 MB / 0.7413 GB, free: 74.53 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05118/2.046, allocations: 24.95 MB / 0.7656 GB, free: 49.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01169/2.058, allocations: 0.5539 MB / 0.7662 GB, free: 48.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002024/2.06, allocations: 0.496 MB / 0.7667 GB, free: 48.27 MB / 490.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.008639/2.069, allocations: 3.089 MB / 0.7697 GB, free: 45.17 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001818/2.07, allocations: 0.4936 MB / 0.7702 GB, free: 44.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05573/2.126, allocations: 12.68 MB / 0.7825 GB, free: 31.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001239/2.126, allocations: 55.98 kB / 0.7826 GB, free: 31.87 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-05/2.126, allocations: 19.94 kB / 0.7826 GB, free: 31.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-05/2.127, allocations: 11.95 kB / 0.7826 GB, free: 31.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4454/2.572, allocations: 24.44 MB / 0.8065 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.266e-05/2.572, allocations: 6.031 kB / 0.8065 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005704/2.578, allocations: 0.5795 MB / 0.8071 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03637/2.614, allocations: 4.841 MB / 0.8118 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009252/2.615, allocations: 55.69 kB / 0.8118 GB, free: 130.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04369/2.659, allocations: 20.19 MB / 0.8316 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/2.659, allocations: 6 kB / 0.8316 GB, free: 123.3 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06629/2.725, allocations: 17.83 MB / 0.849 GB, free: 116.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00505/2.73, allocations: 1.251 MB / 0.8502 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001995/2.732, allocations: 54.56 kB / 0.8503 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006388/2.739, allocations: 258.1 kB / 0.8505 GB, free: 116.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001662/2.741, allocations: 193 kB / 0.8507 GB, free: 116 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005211/2.741, allocations: 89.31 kB / 0.8508 GB, free: 116 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009445/2.751, allocations: 3.591 MB / 0.8543 GB, free: 114.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.11e-07/2.751, allocations: 1.625 kB / 0.8543 GB, free: 114.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01205/2.763, allocations: 1.733 MB / 0.856 GB, free: 114.7 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 (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.06502/2.828, allocations: 19.54 MB / 0.8751 GB, free: 105.8 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02439/2.852, allocations: 10.61 MB / 0.8854 GB, free: 97.65 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/2.852, allocations: 0 / 0.8854 GB, free: 97.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009754/2.862, allocations: 4.04 MB / 0.8894 GB, free: 93.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00574/2.868, allocations: 0.582 MB / 0.8899 GB, free: 93.05 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4037/3.272, allocations: 148.8 MB / 1.035 GB, free: 103.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009443/3.281, allocations: 4.755 MB / 1.04 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01296/3.294, allocations: 2.996 MB / 1.043 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007643/3.302, allocations: 2.918 MB / 1.046 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of SimCode: time 1.362e-06/3.302, allocations: 0 / 1.046 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6122/3.914, allocations: 135.3 MB / 1.178 GB, free: 116.8 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002849/3.914, allocations: 225.9 kB / 1.178 GB, free: 116.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/10.69, allocations: 0 / 1.178 GB, free: 116.6 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat does not exist to compare? outputFormat=mat