Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.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.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_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.04627/0.04627, allocations: 103.7 kB / 15.05 MB, free: 5.949 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.001787/0.001787, allocations: 172.1 kB / 15.93 MB, free: 5.91 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.701/1.701, allocations: 170.9 MB / 187.6 MB, free: 0.8438 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.2706/0.2706, allocations: 38.09 MB / 265.1 MB, free: 3.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004777/0.0004782, allocations: 12 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1122, allocations: 48.7 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.04829/0.1606, allocations: 28.51 MB / 400.8 MB, free: 264 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01993/0.1806, allocations: 6.909 MB / 407.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005628/0.1863, allocations: 131.8 kB / 407.8 MB, free: 9.191 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.1915, allocations: 1.408 MB / 409.2 MB, free: 7.777 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01473/0.2063, allocations: 3.701 MB / 412.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003455/0.2098, allocations: 0.5458 MB / 413.5 MB, free: 3.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002867/0.2127, allocations: 0.9681 MB / 414.5 MB, free: 2.551 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009026/0.2218, allocations: 4.033 MB / 418.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00159/0.2234, allocations: 0.5605 MB / 419.1 MB, free: 13.91 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.2253, allocations: 0.7318 MB / 419.8 MB, free: 13.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006054/0.226, allocations: 99.94 kB / 419.9 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002374/0.2284, allocations: 0.7139 MB / 420.6 MB, free: 12.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.2302, allocations: 0.9117 MB / 421.5 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009883/0.2313, allocations: 0.5119 MB / 422 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006657/0.238, allocations: 3.85 MB / 425.9 MB, free: 7.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.238, allocations: 4 kB / 425.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.007e-06/0.2381, allocations: 0 / 425.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001649/0.2382, allocations: 0 / 425.9 MB, free: 7.062 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01019/0.2484, allocations: 2.665 MB / 428.5 MB, free: 4.336 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.2485, allocations: 8.031 kB / 428.5 MB, free: 4.328 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001726/0.2503, allocations: 465.1 kB / 429 MB, free: 3.863 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00263/0.2529, allocations: 367.9 kB / 429.4 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004403/0.2574, allocations: 1.266 MB / 430.6 MB, free: 2.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.2577, allocations: 172.5 kB / 430.8 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001069/0.2588, allocations: 239.8 kB / 431 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2947/0.5535, allocations: 7.022 MB / 438.1 MB, free: 59.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000137/0.5537, allocations: 17.09 kB / 438.1 MB, free: 59.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007675/0.5545, allocations: 103.5 kB / 438.2 MB, free: 59.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002885/0.5574, allocations: 0.9839 MB / 439.2 MB, free: 58.99 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02393/0.5814, allocations: 5.826 MB / 445 MB, free: 56.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0361/0.6176, allocations: 20.23 MB / 465.2 MB, free: 39.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01253/0.6302, allocations: 1.838 MB / 467 MB, free: 37.47 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009686/0.6399, allocations: 4.899 MB / 471.9 MB, free: 32.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.64, allocations: 55.02 kB / 472 MB, free: 32.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=70): time 3.908e-06/0.64, allocations: 4 kB / 472 MB, free: 32.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=110): time 0.07713/0.7172, allocations: 9.362 MB / 481.4 MB, free: 22.77 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.656e-05/0.7173, allocations: 94.14 kB / 481.5 MB, free: 22.66 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.7204, allocations: 1.929 MB / 483.4 MB, free: 20.73 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002774/0.7207, allocations: 45.7 kB / 483.4 MB, free: 20.68 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001135/0.7219, allocations: 1.66 MB / 485.1 MB, free: 19.02 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000518/0.7224, allocations: 413 kB / 485.5 MB, free: 18.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.7227, allocations: 60 kB / 485.6 MB, free: 18.56 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.7229, allocations: 426.1 kB / 486 MB, free: 18.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002439/0.7253, allocations: 1.028 MB / 487 MB, free: 17.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/0.7286, allocations: 2.622 MB / 489.6 MB, free: 13.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.7321, allocations: 1.572 MB / 491.2 MB, free: 12.12 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/0.7322, allocations: 19.94 kB / 491.2 MB, free: 12.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=370) (initialization): time 0.008774/0.741, allocations: 3.641 MB / 494.9 MB, free: 8.449 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.647e-05/0.7411, allocations: 28.62 kB / 494.9 MB, free: 8.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.777e-05/0.7412, allocations: 56 kB / 494.9 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001085/0.7413, allocations: 84 kB / 495 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004471/0.7458, allocations: 0.7018 MB / 495.7 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001053/0.7459, allocations: 111.6 kB / 495.8 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/0.7491, allocations: 156.1 kB / 496 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00062/0.7497, allocations: 168 kB / 496.1 MB, free: 7.156 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[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],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (370): * Single equations (assignments): 370 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00305/0.7528, allocations: 1.192 MB / 497.3 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004701/0.7533, allocations: 177.7 kB / 497.5 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004909/0.7582, allocations: 1.729 MB / 499.2 MB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.341e-05/0.7583, allocations: 12 kB / 499.3 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.7583, allocations: 3.938 kB / 499.3 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.619e-05/0.7584, allocations: 7.969 kB / 499.3 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01635/0.7747, allocations: 5.85 MB / 0.4933 GB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.131e-05/0.7748, allocations: 15.98 kB / 0.4933 GB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001802/0.7766, allocations: 212.6 kB / 0.4935 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.755e-05/0.7767, allocations: 19.95 kB / 0.4935 GB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/0.7769, allocations: 38.19 kB / 0.4935 GB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.505e-05/0.777, allocations: 27.86 kB / 0.4936 GB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/0.777, allocations: 23.94 kB / 0.4936 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.7815, allocations: 2.594 MB / 0.4961 GB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007472/0.7823, allocations: 266.7 kB / 0.4964 GB, free: 10.13 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005857/0.7829, allocations: 46.06 kB / 0.4964 GB, free: 10.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001572/0.7845, allocations: 35.98 kB / 0.4965 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003748/0.7849, allocations: 96.25 kB / 0.4966 GB, free: 9.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/0.7851, allocations: 44 kB / 0.4966 GB, free: 9.914 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003411/0.7885, allocations: 1.264 MB / 0.4978 GB, free: 8.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.7885, allocations: 4 kB / 0.4978 GB, free: 8.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00409/0.7926, allocations: 0.5183 MB / 0.4983 GB, free: 8.141 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * Number of states: 0 () * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006738/0.7994, allocations: 6.496 MB / 0.5047 GB, free: 1.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006743/0.8062, allocations: 2.233 MB / 0.5069 GB, free: 15.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.115e-05/0.8063, allocations: 7.938 kB / 0.5069 GB, free: 15.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001798/0.8081, allocations: 0.5913 MB / 0.5075 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002112/0.8103, allocations: 227.5 kB / 0.5077 GB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04195/0.8523, allocations: 48.01 MB / 0.5546 GB, free: 12.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004614/0.857, allocations: 2.228 MB / 0.5567 GB, free: 10.26 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004354/0.8614, allocations: 0.7603 MB / 0.5575 GB, free: 9.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002925/0.8644, allocations: 1.058 MB / 0.5585 GB, free: 8.445 MB / 410.7 MB Notification: Performance of SimCode: time 1.874e-06/0.8644, allocations: 0 / 0.5585 GB, free: 8.445 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4112/1.276, allocations: 40.05 MB / 0.5976 GB, free: 138.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000234/1.276, allocations: 178.5 kB / 0.5978 GB, free: 138.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.27/5.546, allocations: 0 / 0.5978 GB, free: 138.5 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat