Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.FourbarVariants.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_FourbarVariants_JointSSR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.164/2.164, allocations: 235.1 MB / 243 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.968e-05/1.979e-05, allocations: 0 / 303.3 MB, free: 3.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.337, allocations: 54.85 MB / 358.1 MB, free: 15.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.5258, allocations: 108.8 MB / 466.9 MB, free: 2.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002371/0.5261, allocations: 75.91 kB / 467 MB, free: 2.605 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.852/1.378, allocations: 151.2 MB / 0.6037 GB, free: 10.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.365e-06/1.378, allocations: 0 / 0.6037 GB, free: 10.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000428/1.379, allocations: 136 kB / 0.6038 GB, free: 10.11 MB / 426.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.0273/1.406, allocations: 6.543 MB / 0.6102 GB, free: 3.484 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/1.406, allocations: 8.031 kB / 0.6102 GB, free: 3.477 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06664/1.473, allocations: 6.679 MB / 0.6168 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04063/1.513, allocations: 8.359 MB / 0.6249 GB, free: 4.355 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000514/1.514, allocations: 228 kB / 0.6251 GB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003849/1.518, allocations: 431.8 kB / 0.6256 GB, free: 3.711 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03212/1.55, allocations: 11.65 MB / 0.6369 GB, free: 8.051 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3719/1.922, allocations: 15.87 MB / 0.6524 GB, free: 71.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000483/1.922, allocations: 82.92 kB / 0.6525 GB, free: 71.6 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003518/1.926, allocations: 38.28 kB / 0.6526 GB, free: 71.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003825/1.93, allocations: 1.725 MB / 0.6542 GB, free: 71.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1142/2.044, allocations: 70.76 MB / 0.7233 GB, free: 32.89 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008628/2.053, allocations: 4.672 MB / 0.7279 GB, free: 30.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005607/2.058, allocations: 2.67 MB / 0.7305 GB, free: 29.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03488/2.093, allocations: 13.69 MB / 0.7439 GB, free: 21.95 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/2.093, allocations: 65.91 kB / 0.7439 GB, free: 21.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 7.203e-06/2.094, allocations: 0 / 0.7439 GB, free: 21.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=346): time 0.07609/2.17, allocations: 18 MB / 0.7615 GB, free: 15.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/2.17, allocations: 192.9 kB / 0.7617 GB, free: 15.24 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01009/2.18, allocations: 4.595 MB / 0.7662 GB, free: 13.54 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006899/2.181, allocations: 25.7 kB / 0.7662 GB, free: 13.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003946/2.185, allocations: 4.997 MB / 0.7711 GB, free: 9.543 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001872/2.186, allocations: 1.249 MB / 0.7723 GB, free: 8.613 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/2.188, allocations: 2.906 kB / 0.7723 GB, free: 8.613 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006846/2.188, allocations: 0.733 MB / 0.773 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007021/2.195, allocations: 3.048 MB / 0.776 GB, free: 7.012 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01145/2.207, allocations: 8.724 MB / 0.7845 GB, free: 13.45 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01506/2.222, allocations: 5.3 MB / 0.7897 GB, free: 9.109 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002348/2.222, allocations: 56 kB / 0.7898 GB, free: 9.055 MB / 474.7 MB Notification: Performance of matching and sorting (n=1289) (initialization): time 0.04037/2.263, allocations: 11.57 MB / 0.8011 GB, free: 15.03 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/2.263, allocations: 95.47 kB / 0.8011 GB, free: 14.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000365/2.263, allocations: 207.9 kB / 0.8013 GB, free: 14.74 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007713/2.271, allocations: 1.31 MB / 0.8026 GB, free: 13.71 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01433/2.285, allocations: 2.252 MB / 0.8048 GB, free: 11.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01737/2.303, allocations: 6.847 MB / 0.8115 GB, free: 5.613 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01057/2.313, allocations: 394.3 kB / 0.8119 GB, free: 5.301 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/2.316, allocations: 0.5729 MB / 0.8124 GB, free: 4.738 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 924 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1203): * Single equations (assignments): 1196 * 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.002952/2.319, allocations: 0.6016 MB / 0.813 GB, free: 4.133 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02002/2.339, allocations: 5.188 MB / 0.8181 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001846/2.341, allocations: 0.4975 MB / 0.8186 GB, free: 15.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01971/2.36, allocations: 5.03 MB / 0.8235 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001071/2.361, allocations: 36 kB / 0.8235 GB, free: 11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.333e-05/2.361, allocations: 19.56 kB / 0.8236 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.375e-05/2.361, allocations: 10.97 kB / 0.8236 GB, free: 10.99 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0426/2.403, allocations: 12.24 MB / 0.8355 GB, free: 0.793 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.343e-05/2.403, allocations: 12 kB / 0.8355 GB, free: 0.7812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004734/2.408, allocations: 0.5215 MB / 0.836 GB, free: 268 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3538/2.762, allocations: 0.8541 MB / 0.8369 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000654/2.763, allocations: 23.64 kB / 0.8369 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/2.776, allocations: 5.155 MB / 0.8419 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.795e-05/2.776, allocations: 12.31 kB / 0.8419 GB, free: 111.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0218/2.798, allocations: 9.786 MB / 0.8515 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003295/2.801, allocations: 0.9064 MB / 0.8524 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/2.803, allocations: 22.16 kB / 0.8524 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004415/2.807, allocations: 125.1 kB / 0.8525 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009242/2.808, allocations: 215.2 kB / 0.8527 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/2.809, allocations: 102.2 kB / 0.8528 GB, free: 108.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.007434/2.816, allocations: 3.049 MB / 0.8558 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.32e-07/2.816, allocations: 0 / 0.8558 GB, free: 108.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01104/2.827, allocations: 1.428 MB / 0.8572 GB, free: 108.4 MB / 0.4948 GB 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 () * 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.02325/2.85, allocations: 12.85 MB / 0.8697 GB, free: 102.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01654/2.867, allocations: 7.287 MB / 0.8769 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.015e-05/2.867, allocations: 6.844 kB / 0.8769 GB, free: 102.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.005669/2.873, allocations: 2.27 MB / 0.8791 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/2.877, allocations: 0.5039 MB / 0.8796 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04763/2.925, allocations: 15.48 MB / 0.8947 GB, free: 99.01 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01175/2.937, allocations: 5.316 MB / 0.8999 GB, free: 97.29 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008176/2.945, allocations: 3.423 MB / 0.9032 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of SimCode: time 1.573e-06/2.945, allocations: 0 / 0.9032 GB, free: 94.49 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.36/8.305, allocations: 161.8 MB / 1.061 GB, free: 108.1 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.FourbarVariants.JointSSR_res.mat does not exist to compare? outputFormat=mat