Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.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.Joints.JointSSR,fileNamePrefix="ModelicaTest_3_2_2_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.2/package.mo): time 0.01091/0.01092, 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.001305/0.001304, 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.045/2.045, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.2708/0.2708, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000481/0.000481, allocations: 16 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1293, allocations: 54.88 MB / 416 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSR): time 0.04772/0.1771, allocations: 28.53 MB / 444.5 MB, free: 5.957 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3558/0.5329, allocations: 6.904 MB / 451.4 MB, free: 30.6 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005646/0.5386, allocations: 133 kB / 451.6 MB, free: 30.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004557/0.5433, allocations: 1.406 MB / 453 MB, free: 30.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.5562, allocations: 3.707 MB / 456.7 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.5593, allocations: 0.5445 MB / 457.2 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002439/0.5617, allocations: 0.9612 MB / 458.2 MB, free: 30.53 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007199/0.569, allocations: 4.032 MB / 462.2 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.5701, allocations: 0.5677 MB / 462.8 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00128/0.5714, allocations: 0.7285 MB / 463.5 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.5718, allocations: 100.3 kB / 463.6 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00178/0.5736, allocations: 0.7088 MB / 464.3 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.5747, allocations: 0.9113 MB / 465.2 MB, free: 30.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006226/0.5753, allocations: 0.5145 MB / 465.8 MB, free: 30.12 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005021/0.5804, allocations: 3.856 MB / 469.6 MB, free: 29.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.5804, allocations: 0 / 469.6 MB, free: 29.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.457e-06/0.5804, allocations: 0 / 469.6 MB, free: 29.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001564/0.5806, allocations: 0 / 469.6 MB, free: 29.91 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.009384/0.59, allocations: 2.666 MB / 472.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.5901, allocations: 6.406 kB / 472.3 MB, free: 28.66 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001637/0.5917, allocations: 464 kB / 472.7 MB, free: 28.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002348/0.5941, allocations: 367.1 kB / 473.1 MB, free: 28.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004313/0.5985, allocations: 1.273 MB / 474.4 MB, free: 28.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.5987, allocations: 172.7 kB / 474.5 MB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.5997, allocations: 236.2 kB / 474.8 MB, free: 28.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/0.6246, allocations: 7.027 MB / 481.8 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.6248, allocations: 14.86 kB / 481.8 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005007/0.6253, allocations: 103.8 kB / 481.9 MB, free: 27.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.6282, allocations: 0.9856 MB / 482.9 MB, free: 27.22 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02474/0.653, allocations: 5.835 MB / 488.7 MB, free: 27.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04026/0.6933, allocations: 20.22 MB / 0.497 GB, free: 15.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01258/0.7059, allocations: 1.833 MB / 0.4988 GB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009302/0.7153, allocations: 4.929 MB / 0.5036 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.7154, allocations: 37.81 kB / 0.5037 GB, free: 10.72 MB / 378.7 MB Notification: Performance of pre-optimization done (n=70): time 4.008e-06/0.7154, allocations: 0 / 0.5037 GB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=110): time 0.07574/0.7912, allocations: 9.363 MB / 0.5128 GB, free: 4.145 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.7913, allocations: 92.36 kB / 0.5129 GB, free: 4.039 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.7946, allocations: 1.929 MB / 0.5148 GB, free: 2.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002781/0.7949, allocations: 41.7 kB / 0.5148 GB, free: 2.066 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001265/0.7962, allocations: 1.663 MB / 0.5164 GB, free: 420 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005722/0.7968, allocations: 415.2 kB / 0.5168 GB, free: 8 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003699/0.7972, allocations: 60.77 kB / 0.5169 GB, free: 15.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003247/0.7976, allocations: 427.9 kB / 0.5173 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00331/0.8009, allocations: 1.025 MB / 0.5183 GB, free: 14.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004686/0.8056, allocations: 2.615 MB / 0.5209 GB, free: 11.12 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004364/0.8101, allocations: 1.57 MB / 0.5224 GB, free: 9.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.466e-05/0.8102, allocations: 18.06 kB / 0.5224 GB, free: 9.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=370) (initialization): time 0.01113/0.8213, allocations: 3.642 MB / 0.526 GB, free: 5.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.047e-05/0.8214, allocations: 28 kB / 0.526 GB, free: 5.949 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-05/0.8215, allocations: 56 kB / 0.526 GB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001252/0.8217, allocations: 88.81 kB / 0.5261 GB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004969/0.8267, allocations: 0.7057 MB / 0.5268 GB, free: 5.102 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001554/0.8269, allocations: 117.1 kB / 0.5269 GB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/0.8303, allocations: 151.8 kB / 0.5271 GB, free: 4.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005409/0.8309, allocations: 168 kB / 0.5272 GB, free: 4.676 MB / 394.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.00334/0.8342, allocations: 1.195 MB / 0.5284 GB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005228/0.8348, allocations: 177.7 kB / 0.5286 GB, free: 3.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005069/0.8398, allocations: 1.725 MB / 0.5303 GB, free: 1.559 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.8399, allocations: 12 kB / 0.5303 GB, free: 1.547 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.8399, allocations: 4 kB / 0.5303 GB, free: 1.543 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.218e-05/0.84, allocations: 11.92 kB / 0.5303 GB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0166/0.8566, allocations: 5.852 MB / 0.536 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.332e-05/0.8567, allocations: 12 kB / 0.536 GB, free: 11.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00165/0.8583, allocations: 218.2 kB / 0.5362 GB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.655e-05/0.8584, allocations: 23.98 kB / 0.5362 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.8585, allocations: 29.64 kB / 0.5363 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.661e-05/0.8585, allocations: 19.94 kB / 0.5363 GB, free: 11.15 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.908e-05/0.8585, allocations: 23.92 kB / 0.5363 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004425/0.863, allocations: 2.599 MB / 0.5388 GB, free: 7.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006942/0.8637, allocations: 270.7 kB / 0.5391 GB, free: 7.652 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003459/0.8641, allocations: 31.98 kB / 0.5391 GB, free: 7.621 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/0.8653, allocations: 39.98 kB / 0.5392 GB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002533/0.8656, allocations: 112.1 kB / 0.5393 GB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/0.8657, allocations: 40 kB / 0.5393 GB, free: 7.434 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003056/0.8688, allocations: 1.266 MB / 0.5406 GB, free: 6.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8688, allocations: 0 / 0.5406 GB, free: 6.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003745/0.8726, allocations: 0.5234 MB / 0.5411 GB, free: 5.656 MB / 410.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.00629/0.8789, allocations: 6.487 MB / 0.5474 GB, free: 14.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006227/0.8852, allocations: 2.236 MB / 0.5496 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-05/0.8853, allocations: 4 kB / 0.5496 GB, free: 12.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001713/0.887, allocations: 0.5912 MB / 0.5502 GB, free: 11.98 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002102/0.8891, allocations: 236 kB / 0.5504 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03785/0.9271, allocations: 48 MB / 0.5973 GB, free: 10.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00403/0.9312, allocations: 2.234 MB / 0.5995 GB, free: 7.797 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004096/0.9353, allocations: 0.7608 MB / 0.6002 GB, free: 7.035 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002808/0.9382, allocations: 1.058 MB / 0.6012 GB, free: 5.977 MB / 474.7 MB Notification: Performance of SimCode: time 9.32e-07/0.9382, allocations: 0 / 0.6012 GB, free: 5.977 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5057/1.444, allocations: 40.05 MB / 0.6403 GB, free: 156.4 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002728/1.444, allocations: 169.8 kB / 0.6405 GB, free: 156.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.76/5.204, allocations: 4 kB / 0.6405 GB, free: 156.2 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR_res.mat does not exist to compare? outputFormat=mat