Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_FourbarVariants_JointSSR",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.01098/0.01098, allocations: 107.9 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.001225/0.001225, allocations: 182.3 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 1.975/1.975, allocations: 194.5 MB / 211.3 MB, free: 10.98 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.3813/0.3813, allocations: 40.04 MB / 296.5 MB, free: 6.242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004692/0.0004693, allocations: 8 kB / 361.1 MB, free: 9.523 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1244/0.1249, allocations: 54.89 MB / 416 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.3784/0.5034, allocations: 47.87 MB / 463.9 MB, free: 30.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02997/0.5334, allocations: 11.78 MB / 475.7 MB, free: 28.91 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01105/0.5445, allocations: 234.6 kB / 475.9 MB, free: 28.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00821/0.5528, allocations: 2.434 MB / 478.3 MB, free: 28.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02575/0.5786, allocations: 6.937 MB / 485.3 MB, free: 26.97 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005584/0.5842, allocations: 1.053 MB / 486.3 MB, free: 26.63 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.03283/0.6171, allocations: 11.7 MB / 498 MB, free: 23.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01661/0.6338, allocations: 6.996 MB / 0.4932 GB, free: 21.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00552/0.6393, allocations: 1.784 MB / 0.4949 GB, free: 20.48 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006475/0.6459, allocations: 2.51 MB / 0.4974 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002416/0.6483, allocations: 262.5 kB / 0.4976 GB, free: 19.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.6538, allocations: 1.297 MB / 0.4989 GB, free: 18.75 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005373/0.6592, allocations: 2.692 MB / 0.5015 GB, free: 17.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003285/0.6626, allocations: 1.384 MB / 0.5029 GB, free: 16.39 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01487/0.6775, allocations: 9.645 MB / 0.5123 GB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6776, allocations: 0 / 0.5123 GB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.6776, allocations: 0 / 0.5123 GB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005473/0.6781, allocations: 0 / 0.5123 GB, free: 9.145 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.02211/0.7003, allocations: 6.742 MB / 0.5189 GB, free: 2.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.7003, allocations: 8.031 kB / 0.5189 GB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004544/0.7049, allocations: 1.303 MB / 0.5202 GB, free: 1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06477/0.7697, allocations: 7.155 MB / 0.5272 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01645/0.7862, allocations: 4.894 MB / 0.5319 GB, free: 4.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006403/0.7869, allocations: 398 kB / 0.5323 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003684/0.7906, allocations: 0.5559 MB / 0.5329 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06236/0.853, allocations: 19.05 MB / 0.5515 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003578/0.8534, allocations: 63.47 kB / 0.5515 GB, free: 15.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002454/0.8559, allocations: 251.7 kB / 0.5518 GB, free: 15.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01037/0.8663, allocations: 3.428 MB / 0.5551 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05947/0.9259, allocations: 16.76 MB / 0.5715 GB, free: 11.32 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8036/1.73, allocations: 66.9 MB / 0.6368 GB, free: 105.7 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/1.757, allocations: 6.297 MB / 0.6429 GB, free: 104.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05353/1.81, allocations: 13.99 MB / 0.6566 GB, free: 100.2 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.711e-05/1.811, allocations: 67.47 kB / 0.6567 GB, free: 100.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=284): time 1.291e-05/1.811, allocations: 0 / 0.6567 GB, free: 100.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=345): time 0.1675/1.978, allocations: 26.01 MB / 0.6821 GB, free: 91.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/1.978, allocations: 191.7 kB / 0.6823 GB, free: 91.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01308/1.991, allocations: 6.223 MB / 0.6883 GB, free: 89.58 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008138/1.992, allocations: 72.39 kB / 0.6884 GB, free: 89.51 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004243/1.997, allocations: 4.984 MB / 0.6933 GB, free: 85.69 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001887/1.999, allocations: 1.285 MB / 0.6945 GB, free: 84.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/2, allocations: 188.8 kB / 0.6947 GB, free: 84.61 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005833/2, allocations: 0.7046 MB / 0.6954 GB, free: 84.13 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008554/2.009, allocations: 3.25 MB / 0.6986 GB, free: 83.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/2.021, allocations: 8.67 MB / 0.707 GB, free: 74.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01221/2.033, allocations: 5.231 MB / 0.7122 GB, free: 72.67 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001893/2.033, allocations: 55.72 kB / 0.7122 GB, free: 72.67 MB / 490.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03874/2.072, allocations: 12.7 MB / 0.7246 GB, free: 63.19 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001307/2.072, allocations: 92.06 kB / 0.7247 GB, free: 63.1 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002447/2.073, allocations: 192 kB / 0.7249 GB, free: 62.91 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007689/2.08, allocations: 1.338 MB / 0.7262 GB, free: 61.57 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/2.093, allocations: 2.163 MB / 0.7283 GB, free: 59.41 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/2.112, allocations: 7.53 MB / 0.7356 GB, free: 51.75 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0101/2.122, allocations: 0.5032 MB / 0.7361 GB, free: 51.25 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001853/2.124, allocations: 0.543 MB / 0.7367 GB, free: 50.71 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 871 * Number of states: 0 () * Number of discrete variables: 43 (jointSSR.revolute.positiveBranch,Body2.sphereColor[3],Body2.sphereColor[2],Body2.sphereColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1],FixedFrame1.color_x[3],FixedFrame1.color_x[2],FixedFrame1.color_x[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.revoluteColor[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],j2.boxColor[3],j2.boxColor[2],j2.boxColor[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 (1149): * Single equations (assignments): 1142 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 37} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008541/2.132, allocations: 3.44 MB / 0.74 GB, free: 47.25 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/2.134, allocations: 0.5322 MB / 0.7406 GB, free: 46.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01832/2.152, allocations: 5.385 MB / 0.7458 GB, free: 41.27 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.84e-05/2.152, allocations: 36 kB / 0.7458 GB, free: 41.23 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/2.152, allocations: 8 kB / 0.7459 GB, free: 41.23 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.828e-05/2.152, allocations: 23.89 kB / 0.7459 GB, free: 41.2 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04243/2.195, allocations: 14.04 MB / 0.7596 GB, free: 26.95 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/2.195, allocations: 12 kB / 0.7596 GB, free: 26.94 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004265/2.199, allocations: 0.4914 MB / 0.7601 GB, free: 26.45 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006103/2.205, allocations: 0.8109 MB / 0.7609 GB, free: 25.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005259/2.206, allocations: 67.98 kB / 0.7609 GB, free: 25.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01457/2.22, allocations: 5.558 MB / 0.7664 GB, free: 19.88 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.526e-05/2.22, allocations: 19.94 kB / 0.7664 GB, free: 19.86 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02435/2.245, allocations: 10.01 MB / 0.7762 GB, free: 9.246 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/2.248, allocations: 0.9469 MB / 0.7771 GB, free: 8.273 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.25, allocations: 60 kB / 0.7771 GB, free: 8.215 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0046/2.254, allocations: 135.8 kB / 0.7773 GB, free: 8.086 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009538/2.255, allocations: 221.6 kB / 0.7775 GB, free: 7.871 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003146/2.256, allocations: 104 kB / 0.7776 GB, free: 7.77 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.008502/2.264, allocations: 3.929 MB / 0.7814 GB, free: 3.871 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.01e-07/2.264, allocations: 0 / 0.7814 GB, free: 3.871 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01066/2.275, allocations: 1.645 MB / 0.783 GB, free: 2.234 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 2 (j2.s,j2.v) * 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 (269): * Single equations (assignments): 262 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02906/2.304, allocations: 13.04 MB / 0.7958 GB, free: 4.719 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02144/2.326, allocations: 7.734 MB / 0.8033 GB, free: 13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.595e-05/2.326, allocations: 4.125 kB / 0.8033 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007201/2.333, allocations: 2.37 MB / 0.8056 GB, free: 10.61 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005791/2.339, allocations: 0.6425 MB / 0.8062 GB, free: 9.992 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4194/2.758, allocations: 165.9 MB / 0.9683 GB, free: 37.54 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01224/2.77, allocations: 5.307 MB / 0.9734 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.01372/2.784, allocations: 2.975 MB / 0.9764 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007522/2.792, allocations: 3.335 MB / 0.9796 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of SimCode: time 1.252e-06/2.792, allocations: 7.312 kB / 0.9796 GB, free: 35.21 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6109/3.403, allocations: 123.9 MB / 1.101 GB, free: 159 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/3.403, allocations: 204.1 kB / 1.101 GB, free: 158.8 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/10.88, allocations: 4.844 kB / 1.101 GB, free: 158.8 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat