Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.Joints.JointSSP,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointSSP",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.01067/0.01068, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.00118/0.00118, allocations: 179.2 kB / 15.95 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.2/package.mo): time 2.168/2.168, allocations: 194.5 MB / 211.3 MB, free: 11.07 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.2647/0.2647, allocations: 40.04 MB / 296.5 MB, free: 6.297 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000685/0.0006851, allocations: 12 kB / 361.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1309, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.04916/0.1801, allocations: 28.48 MB / 444.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3436/0.5238, allocations: 6.706 MB / 451.2 MB, free: 30.61 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005093/0.5289, allocations: 135.4 kB / 451.3 MB, free: 30.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004445/0.5334, allocations: 1.4 MB / 452.7 MB, free: 30.61 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01288/0.5464, allocations: 3.711 MB / 456.4 MB, free: 30.55 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00272/0.5491, allocations: 403.4 kB / 456.8 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002518/0.5517, allocations: 0.9197 MB / 457.8 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007117/0.5588, allocations: 4.015 MB / 461.8 MB, free: 30.17 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009379/0.5598, allocations: 0.5282 MB / 462.3 MB, free: 30.17 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001045/0.5609, allocations: 0.6953 MB / 463 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002813/0.5612, allocations: 95.81 kB / 463.1 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001251/0.5624, allocations: 0.4958 MB / 463.6 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009856/0.5635, allocations: 0.9139 MB / 464.5 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005651/0.564, allocations: 0.5143 MB / 465 MB, free: 30.13 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004675/0.5687, allocations: 3.672 MB / 468.7 MB, free: 29.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5688, allocations: 0 / 468.7 MB, free: 29.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5688, allocations: 0 / 468.7 MB, free: 29.92 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001317/0.5689, allocations: 0 / 468.7 MB, free: 29.92 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.008711/0.5777, allocations: 2.435 MB / 471.1 MB, free: 28.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/0.5778, allocations: 11.94 kB / 471.1 MB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002217/0.58, allocations: 459.7 kB / 471.6 MB, free: 28.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00377/0.5838, allocations: 365.6 kB / 471.9 MB, free: 28.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005404/0.5893, allocations: 1.225 MB / 473.2 MB, free: 28.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001971/0.5896, allocations: 176.1 kB / 473.3 MB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009518/0.5905, allocations: 232.1 kB / 473.6 MB, free: 28.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01887/0.6094, allocations: 6.089 MB / 479.7 MB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.6096, allocations: 16.38 kB / 479.7 MB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003526/0.61, allocations: 103 kB / 479.8 MB, free: 27.26 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00245/0.6124, allocations: 0.9563 MB / 480.7 MB, free: 27.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01903/0.6315, allocations: 4.578 MB / 485.3 MB, free: 27.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03512/0.6667, allocations: 18.46 MB / 0.492 GB, free: 17.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007294/0.674, allocations: 1.269 MB / 0.4932 GB, free: 17.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002291/0.6764, allocations: 2.064 MB / 0.4952 GB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.356e-05/0.6765, allocations: 41.62 kB / 0.4953 GB, free: 15.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=66): time 3.677e-06/0.6765, allocations: 4 kB / 0.4953 GB, free: 15.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.04537/0.7218, allocations: 5.987 MB / 0.5011 GB, free: 12.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.722, allocations: 95.45 kB / 0.5012 GB, free: 12.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003206/0.7252, allocations: 1.797 MB / 0.503 GB, free: 11.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002037/0.7254, allocations: 42.14 kB / 0.503 GB, free: 11.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001075/0.7265, allocations: 1.639 MB / 0.5046 GB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004218/0.7269, allocations: 411.8 kB / 0.505 GB, free: 9.809 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/0.7271, allocations: 54.38 kB / 0.505 GB, free: 9.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.7273, allocations: 425.3 kB / 0.5054 GB, free: 9.379 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/0.7292, allocations: 0.7863 MB / 0.5062 GB, free: 8.977 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002631/0.7319, allocations: 2.322 MB / 0.5085 GB, free: 6.438 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002976/0.7349, allocations: 1.321 MB / 0.5098 GB, free: 5.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.935e-05/0.7349, allocations: 15.41 kB / 0.5098 GB, free: 5.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=358) (initialization): time 0.007266/0.7422, allocations: 3.114 MB / 0.5128 GB, free: 3.516 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.403e-05/0.7423, allocations: 28 kB / 0.5129 GB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.526e-05/0.7424, allocations: 56 kB / 0.5129 GB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.28e-05/0.7425, allocations: 81.64 kB / 0.513 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003776/0.7463, allocations: 0.644 MB / 0.5136 GB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-05/0.7464, allocations: 111.6 kB / 0.5137 GB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/0.749, allocations: 119.9 kB / 0.5138 GB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000289/0.7493, allocations: 154.2 kB / 0.514 GB, free: 2.336 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 246 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (358): * Single equations (assignments): 358 * 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.002475/0.7518, allocations: 1.2 MB / 0.5151 GB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.7521, allocations: 165.8 kB / 0.5153 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/0.7553, allocations: 1.257 MB / 0.5165 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.7554, allocations: 8 kB / 0.5165 GB, free: 15.69 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.7554, allocations: 4 kB / 0.5165 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-05/0.7554, allocations: 8.016 kB / 0.5166 GB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01591/0.7713, allocations: 6.456 MB / 0.5229 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-05/0.7714, allocations: 20.19 kB / 0.5229 GB, free: 8.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/0.7727, allocations: 203.7 kB / 0.5231 GB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.832e-05/0.7728, allocations: 29.36 kB / 0.5231 GB, free: 8.613 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.704e-05/0.7729, allocations: 54.02 kB / 0.5232 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.59e-05/0.773, allocations: 37.97 kB / 0.5232 GB, free: 8.527 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-05/0.773, allocations: 31.88 kB / 0.5232 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004317/0.7773, allocations: 3.186 MB / 0.5263 GB, free: 4.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007181/0.7781, allocations: 274.8 kB / 0.5266 GB, free: 3.961 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003043/0.7784, allocations: 43.98 kB / 0.5266 GB, free: 3.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/0.7796, allocations: 44.95 kB / 0.5267 GB, free: 3.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/0.7798, allocations: 135.5 kB / 0.5268 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/0.7799, allocations: 52 kB / 0.5269 GB, free: 3.691 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002883/0.7828, allocations: 1.196 MB / 0.528 GB, free: 2.504 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.7829, allocations: 0 / 0.528 GB, free: 2.504 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003699/0.7866, allocations: 500 kB / 0.5285 GB, free: 2.016 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (109): * Single equations (assignments): 109 * 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.006702/0.7933, allocations: 9.454 MB / 0.5377 GB, free: 7.93 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004809/0.7982, allocations: 1.817 MB / 0.5395 GB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.06e-05/0.7982, allocations: 0 / 0.5395 GB, free: 6.125 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001334/0.7996, allocations: 495.9 kB / 0.54 GB, free: 5.645 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/0.8015, allocations: 249.2 kB / 0.5402 GB, free: 5.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03429/0.8358, allocations: 46.39 MB / 0.5855 GB, free: 5.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003478/0.8393, allocations: 2.244 MB / 0.5877 GB, free: 3.066 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003479/0.8429, allocations: 0.7033 MB / 0.5884 GB, free: 2.359 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002248/0.8451, allocations: 1.042 MB / 0.5894 GB, free: 1.316 MB / 458.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8451, allocations: 0 / 0.5894 GB, free: 1.316 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4047/1.25, allocations: 36.39 MB / 0.6249 GB, free: 151 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/1.25, allocations: 177.7 kB / 0.6251 GB, free: 150.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.634/4.885, allocations: 3.562 kB / 0.6251 GB, free: 150.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP_res.mat does not exist to compare? outputFormat=mat