Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar.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.Planar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Planar",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.01162/0.01162, allocations: 108.5 kB / 15.06 MB, free: 5.555 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.001236/0.001236, allocations: 181.4 kB / 15.95 MB, free: 5.52 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.114/2.114, allocations: 194.6 MB / 211.3 MB, free: 11.27 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.2928/0.2928, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006938/0.000694, allocations: 12 kB / 361.1 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1576, allocations: 54.88 MB / 416 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.4023/0.5601, allocations: 38.74 MB / 454.8 MB, free: 30.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02829/0.5884, allocations: 9.263 MB / 464 MB, free: 30.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009109/0.5976, allocations: 181.9 kB / 464.2 MB, free: 30.1 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008085/0.6057, allocations: 1.979 MB / 466.2 MB, free: 29.74 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02354/0.6293, allocations: 5.667 MB / 471.9 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003393/0.6328, allocations: 0.5132 MB / 472.4 MB, free: 29.34 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005984/0.6388, allocations: 2.433 MB / 474.8 MB, free: 29.23 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00693/0.6458, allocations: 3.57 MB / 478.4 MB, free: 28.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002895/0.6488, allocations: 1.165 MB / 479.5 MB, free: 28.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.6522, allocations: 1.546 MB / 481.1 MB, free: 28.42 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001284/0.6536, allocations: 174.1 kB / 481.3 MB, free: 28.42 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003247/0.6568, allocations: 0.8262 MB / 482.1 MB, free: 28.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003166/0.6601, allocations: 1.703 MB / 483.8 MB, free: 28.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00218/0.6623, allocations: 0.9526 MB / 484.7 MB, free: 27.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.6747, allocations: 6.162 MB / 490.9 MB, free: 27.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6747, allocations: 0 / 490.9 MB, free: 27.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.6747, allocations: 5.531 kB / 490.9 MB, free: 27.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003866/0.6751, allocations: 0 / 490.9 MB, free: 27.54 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01786/0.693, allocations: 4.445 MB / 495.3 MB, free: 24.89 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.476e-05/0.6931, allocations: 9.25 kB / 495.4 MB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003898/0.697, allocations: 0.8903 MB / 496.2 MB, free: 24.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02475/0.7219, allocations: 3.85 MB / 0.4884 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009349/0.7313, allocations: 2.608 MB / 0.4909 GB, free: 21.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.7317, allocations: 262.2 kB / 0.4912 GB, free: 21.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002687/0.7344, allocations: 347 kB / 0.4915 GB, free: 21.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03836/0.7728, allocations: 12.74 MB / 0.5039 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00029/0.7732, allocations: 35.41 kB / 0.504 GB, free: 14.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002293/0.7755, allocations: 160.6 kB / 0.5041 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00852/0.784, allocations: 2.969 MB / 0.507 GB, free: 12.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03491/0.819, allocations: 11.39 MB / 0.5182 GB, free: 1.133 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1019/0.9209, allocations: 42.3 MB / 0.5595 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/0.9376, allocations: 4.689 MB / 0.5641 GB, free: 1.035 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00195/0.9396, allocations: 1.321 MB / 0.5653 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/0.9397, allocations: 56.56 kB / 0.5654 GB, free: 15.44 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 7.314e-06/0.9397, allocations: 3.938 kB / 0.5654 GB, free: 15.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=268): time 0.08692/1.027, allocations: 20.04 MB / 0.585 GB, free: 11.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.699e-05/1.027, allocations: 103 kB / 0.5851 GB, free: 11.02 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008498/1.035, allocations: 3.34 MB / 0.5883 GB, free: 7.672 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007433/1.036, allocations: 57.7 kB / 0.5884 GB, free: 7.609 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003866/1.04, allocations: 3.275 MB / 0.5916 GB, free: 4.328 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002117/1.042, allocations: 0.976 MB / 0.5925 GB, free: 3.359 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007912/1.043, allocations: 118.7 kB / 0.5926 GB, free: 3.246 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006042/1.044, allocations: 0.5664 MB / 0.5932 GB, free: 2.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007541/1.051, allocations: 2.464 MB / 0.5956 GB, free: 208 kB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/1.062, allocations: 5.811 MB / 0.6013 GB, free: 8.73 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/1.073, allocations: 3.766 MB / 0.605 GB, free: 4.961 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001668/1.073, allocations: 36 kB / 0.605 GB, free: 4.926 MB / 474.7 MB Notification: Performance of matching and sorting (n=806) (initialization): time 0.03045/1.104, allocations: 9.072 MB / 0.6139 GB, free: 11.84 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.104, allocations: 55.95 kB / 0.6139 GB, free: 11.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.104, allocations: 123.9 kB / 0.614 GB, free: 11.67 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006028/1.11, allocations: 1.075 MB / 0.6151 GB, free: 10.59 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00934/1.119, allocations: 1.382 MB / 0.6164 GB, free: 9.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/1.133, allocations: 5.284 MB / 0.6216 GB, free: 3.793 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006961/1.14, allocations: 335.8 kB / 0.6219 GB, free: 3.465 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.142, allocations: 348 kB / 0.6222 GB, free: 3.125 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (744): * Single equations (assignments): 737 * 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 {(4,87.5%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008928/1.151, allocations: 2.473 MB / 0.6247 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009913/1.152, allocations: 319.8 kB / 0.625 GB, free: 332 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3627/1.514, allocations: 5.397 MB / 0.6302 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/1.514, allocations: 43.14 kB / 0.6303 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/1.514, allocations: 3.156 kB / 0.6303 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.48e-05/1.515, allocations: 18.67 kB / 0.6303 GB, free: 150 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04005/1.555, allocations: 13.34 MB / 0.6433 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-05/1.555, allocations: 11.84 kB / 0.6433 GB, free: 146.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003869/1.559, allocations: 426.1 kB / 0.6437 GB, free: 146.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005183/1.564, allocations: 0.896 MB / 0.6446 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007311/1.565, allocations: 55.62 kB / 0.6447 GB, free: 146.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009811/1.574, allocations: 4.631 MB / 0.6492 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.71e-05/1.575, allocations: 20.59 kB / 0.6492 GB, free: 144.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/1.6, allocations: 9.099 MB / 0.6581 GB, free: 139.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003958/1.604, allocations: 0.7346 MB / 0.6588 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001596/1.605, allocations: 58.91 kB / 0.6589 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004761/1.61, allocations: 154.5 kB / 0.659 GB, free: 139.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001382/1.612, allocations: 167.9 kB / 0.6592 GB, free: 139.6 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004732/1.612, allocations: 80.56 kB / 0.6592 GB, free: 139.6 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007995/1.62, allocations: 2.055 MB / 0.6613 GB, free: 138.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.62, allocations: 0 / 0.6613 GB, free: 138.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01224/1.632, allocations: 1.128 MB / 0.6624 GB, free: 138.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (209): * Single equations (assignments): 202 * 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 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03085/1.663, allocations: 12.64 MB / 0.6747 GB, free: 131.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.68, allocations: 6.031 MB / 0.6806 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.448e-05/1.68, allocations: 3.938 kB / 0.6806 GB, free: 129.1 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005528/1.686, allocations: 2.246 MB / 0.6828 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/1.689, allocations: 390.5 kB / 0.6832 GB, free: 127.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1062/1.795, allocations: 117 MB / 0.7974 GB, free: 9.426 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008837/1.804, allocations: 3.922 MB / 0.8013 GB, free: 5.48 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009311/1.814, allocations: 2.184 MB / 0.8034 GB, free: 3.289 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005892/1.82, allocations: 2.198 MB / 0.8056 GB, free: 1.09 MB / 490.7 MB Notification: Performance of SimCode: time 1.653e-06/1.82, allocations: 0 / 0.8056 GB, free: 1.09 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.508/2.328, allocations: 78.49 MB / 0.8822 GB, free: 108.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002372/2.328, allocations: 188 kB / 0.8824 GB, free: 107.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.992/7.32, allocations: 0 / 0.8824 GB, free: 107.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar_res.mat does not exist to compare? outputFormat=mat