Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR.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.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01068/0.01068, allocations: 109.1 kB / 15.05 MB, free: 6.016 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.001179/0.001179, allocations: 167.3 kB / 15.93 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.1/package.mo): time 1.578/1.578, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2442/0.2442, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004519/0.000452, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09522/0.0957, allocations: 48.72 MB / 372.3 MB, free: 12.83 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointSSR): time 0.1266/0.2223, allocations: 47.86 MB / 420.2 MB, free: 12.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04184/0.2642, allocations: 11.78 MB / 431.9 MB, free: 1.023 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01242/0.2767, allocations: 235.4 kB / 432.2 MB, free: 0.793 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.3471/0.6239, allocations: 2.416 MB / 434.6 MB, free: 9.832 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0261/0.65, allocations: 6.938 MB / 441.5 MB, free: 9.73 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005469/0.6555, allocations: 1.072 MB / 442.6 MB, free: 9.719 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.03223/0.6878, allocations: 11.71 MB / 454.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.7008, allocations: 6.987 MB / 461.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004391/0.7053, allocations: 1.773 MB / 463.1 MB, free: 4.773 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005286/0.7106, allocations: 2.518 MB / 465.6 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002037/0.7127, allocations: 264.5 kB / 465.8 MB, free: 4.176 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004732/0.7174, allocations: 1.298 MB / 467.1 MB, free: 3.891 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004533/0.722, allocations: 2.692 MB / 469.8 MB, free: 2.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.7248, allocations: 1.382 MB / 471.2 MB, free: 2.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01704/0.7419, allocations: 9.644 MB / 480.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.742, allocations: 0 / 480.9 MB, free: 9.887 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.467e-06/0.742, allocations: 4 kB / 480.9 MB, free: 9.883 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004599/0.7425, allocations: 0 / 480.9 MB, free: 9.883 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: 2561 * Number of variables: 2561 Notification: Performance of Generate backend data structure: time 0.03458/0.7771, allocations: 6.747 MB / 487.6 MB, free: 3.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.7772, allocations: 8.031 kB / 487.6 MB, free: 3.617 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006746/0.7839, allocations: 1.304 MB / 488.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06943/0.8534, allocations: 7.16 MB / 496.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01615/0.8696, allocations: 4.885 MB / 0.4892 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005712/0.8703, allocations: 406.7 kB / 0.4896 GB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003181/0.8735, allocations: 0.5616 MB / 0.4902 GB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05985/0.9333, allocations: 19.04 MB / 0.5088 GB, free: 9.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000473/0.9339, allocations: 69.45 kB / 0.5088 GB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/0.9364, allocations: 250.9 kB / 0.5091 GB, free: 9.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009541/0.946, allocations: 3.419 MB / 0.5124 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05978/1.006, allocations: 16.74 MB / 0.5287 GB, free: 7.547 MB / 394.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.1406/1.146, allocations: 66.93 MB / 0.5941 GB, free: 3.242 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.5526/1.699, allocations: 6.282 MB / 0.6002 GB, free: 162.8 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04009/1.739, allocations: 14 MB / 0.6139 GB, free: 156.7 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.082e-05/1.739, allocations: 62.75 kB / 0.614 GB, free: 156.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=284): time 8.847e-06/1.739, allocations: 0 / 0.614 GB, free: 156.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=345): time 0.155/1.894, allocations: 26.02 MB / 0.6394 GB, free: 146.2 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.475e-05/1.895, allocations: 188.2 kB / 0.6396 GB, free: 146 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01279/1.907, allocations: 6.229 MB / 0.6456 GB, free: 139.8 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0007346/1.908, allocations: 71.03 kB / 0.6457 GB, free: 139.7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004144/1.912, allocations: 4.982 MB / 0.6506 GB, free: 134.8 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001869/1.914, allocations: 1.276 MB / 0.6518 GB, free: 133.5 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/1.915, allocations: 189.8 kB / 0.652 GB, free: 133.3 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0006835/1.916, allocations: 0.7108 MB / 0.6527 GB, free: 132.6 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008736/1.925, allocations: 3.249 MB / 0.6559 GB, free: 129.4 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01205/1.937, allocations: 8.671 MB / 0.6643 GB, free: 118 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01194/1.949, allocations: 5.227 MB / 0.6694 GB, free: 112.8 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001604/1.949, allocations: 56 kB / 0.6695 GB, free: 112.7 MB / 458.8 MB Notification: Performance of matching and sorting (n=1235) (initialization): time 0.03765/1.987, allocations: 12.7 MB / 0.6819 GB, free: 100 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001306/1.987, allocations: 88 kB / 0.682 GB, free: 99.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/1.987, allocations: 195.9 kB / 0.6822 GB, free: 99.72 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007691/1.995, allocations: 1.348 MB / 0.6835 GB, free: 98.38 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01296/2.008, allocations: 2.16 MB / 0.6856 GB, free: 96.21 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.019/2.027, allocations: 7.512 MB / 0.6929 GB, free: 88.57 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009709/2.037, allocations: 0.5082 MB / 0.6934 GB, free: 88.07 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001806/2.039, allocations: 0.5401 MB / 0.694 GB, free: 87.53 MB / 458.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.008551/2.047, allocations: 3.451 MB / 0.6973 GB, free: 84.06 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/2.049, allocations: 0.5322 MB / 0.6978 GB, free: 83.52 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/2.068, allocations: 5.403 MB / 0.7031 GB, free: 78.07 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.92e-05/2.068, allocations: 36 kB / 0.7032 GB, free: 78.03 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.098e-05/2.068, allocations: 8 kB / 0.7032 GB, free: 78.02 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.172e-05/2.068, allocations: 11.95 kB / 0.7032 GB, free: 78.01 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04445/2.112, allocations: 14.03 MB / 0.7169 GB, free: 63.77 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.934e-05/2.112, allocations: 13.5 kB / 0.7169 GB, free: 63.75 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004205/2.117, allocations: 499.2 kB / 0.7174 GB, free: 63.27 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006036/2.123, allocations: 0.8232 MB / 0.7182 GB, free: 62.44 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005795/2.123, allocations: 64.78 kB / 0.7182 GB, free: 62.38 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01444/2.138, allocations: 5.562 MB / 0.7237 GB, free: 56.68 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-05/2.138, allocations: 23.89 kB / 0.7237 GB, free: 56.66 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/2.161, allocations: 10.01 MB / 0.7335 GB, free: 46.05 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003432/2.164, allocations: 0.9469 MB / 0.7344 GB, free: 45.07 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/2.166, allocations: 65.23 kB / 0.7344 GB, free: 45.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004344/2.17, allocations: 141 kB / 0.7346 GB, free: 44.88 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009084/2.171, allocations: 221.5 kB / 0.7348 GB, free: 44.66 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003137/2.171, allocations: 101.3 kB / 0.7349 GB, free: 44.56 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00925/2.181, allocations: 3.926 MB / 0.7387 GB, free: 40.67 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.72e-07/2.181, allocations: 0 / 0.7387 GB, free: 40.67 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01014/2.191, allocations: 1.646 MB / 0.7403 GB, free: 39.03 MB / 458.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.02443/2.215, allocations: 13.05 MB / 0.7531 GB, free: 25.51 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.01846/2.234, allocations: 7.721 MB / 0.7606 GB, free: 17.8 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.668e-05/2.234, allocations: 4 kB / 0.7606 GB, free: 17.8 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.006407/2.24, allocations: 2.374 MB / 0.7629 GB, free: 15.41 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005521/2.246, allocations: 0.6467 MB / 0.7636 GB, free: 14.77 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3678/2.614, allocations: 165.9 MB / 0.9256 GB, free: 15.37 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.625, allocations: 5.312 MB / 0.9308 GB, free: 13.59 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.01273/2.638, allocations: 2.973 MB / 0.9337 GB, free: 13.33 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007182/2.645, allocations: 3.334 MB / 0.9369 GB, free: 10.58 MB / 474.8 MB Notification: Performance of SimCode: time 1.633e-06/2.645, allocations: 0 / 0.9369 GB, free: 10.58 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.564/3.209, allocations: 123.9 MB / 1.058 GB, free: 79.27 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/3.21, allocations: 212.5 kB / 1.058 GB, free: 79.02 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/10.58, allocations: 0 / 1.058 GB, free: 79.02 MB / 474.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat