Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP2",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.0114/0.0114, allocations: 107.2 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: 182.2 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 1.92/1.92, allocations: 194.6 MB / 211.3 MB, free: 11.02 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.2707/0.2707, allocations: 40.04 MB / 296.5 MB, free: 6.254 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006626/0.0006628, allocations: 16 kB / 361.1 MB, free: 9.535 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1141, allocations: 54.88 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.3688/0.483, allocations: 39.57 MB / 455.6 MB, free: 30.55 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.02582/0.5089, allocations: 10.22 MB / 465.8 MB, free: 30 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008688/0.5176, allocations: 199.2 kB / 466 MB, free: 29.97 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006751/0.5244, allocations: 1.973 MB / 468 MB, free: 29.6 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02112/0.5456, allocations: 5.705 MB / 473.7 MB, free: 29.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004768/0.5504, allocations: 0.9677 MB / 474.7 MB, free: 29.18 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.02768/0.5782, allocations: 10.33 MB / 485 MB, free: 28.11 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01354/0.5918, allocations: 6.244 MB / 491.2 MB, free: 27.43 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004006/0.5958, allocations: 1.386 MB / 492.6 MB, free: 27.22 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005548/0.6014, allocations: 1.892 MB / 494.5 MB, free: 26.96 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001659/0.6032, allocations: 200.8 kB / 494.7 MB, free: 26.96 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004767/0.6079, allocations: 1.233 MB / 495.9 MB, free: 26.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004468/0.6125, allocations: 2.111 MB / 498 MB, free: 26.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.6148, allocations: 1.093 MB / 499.1 MB, free: 25.88 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01284/0.6276, allocations: 7.914 MB / 0.4952 GB, free: 21.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.6277, allocations: 1.25 kB / 0.4952 GB, free: 21.26 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6277, allocations: 0 / 0.4952 GB, free: 21.26 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003541/0.6281, allocations: 0 / 0.4952 GB, free: 21.26 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.0222/0.6503, allocations: 5.781 MB / 0.5008 GB, free: 17.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6503, allocations: 10.59 kB / 0.5008 GB, free: 17.41 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003275/0.6536, allocations: 0.9143 MB / 0.5017 GB, free: 16.82 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1791/0.8327, allocations: 8.664 MB / 0.5102 GB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/0.8476, allocations: 4.123 MB / 0.5142 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005097/0.8481, allocations: 362.2 kB / 0.5145 GB, free: 6.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002636/0.8508, allocations: 428.3 kB / 0.515 GB, free: 5.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05581/0.9066, allocations: 13.98 MB / 0.5286 GB, free: 7.043 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003818/0.9071, allocations: 47.53 kB / 0.5287 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002681/0.9098, allocations: 201.7 kB / 0.5288 GB, free: 6.844 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008564/0.9184, allocations: 2.347 MB / 0.5311 GB, free: 4.512 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04401/0.9624, allocations: 11.82 MB / 0.5427 GB, free: 8.688 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1043/1.067, allocations: 51.58 MB / 0.5931 GB, free: 3.871 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02233/1.089, allocations: 4.676 MB / 0.5976 GB, free: 15.04 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03323/1.122, allocations: 12.49 MB / 0.6098 GB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.154e-05/1.123, allocations: 55.86 kB / 0.6099 GB, free: 2.004 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.142e-06/1.123, allocations: 0 / 0.6099 GB, free: 2.004 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.6576/1.78, allocations: 42.66 MB / 0.6515 GB, free: 146.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.533e-05/1.78, allocations: 239.1 kB / 0.6518 GB, free: 146.2 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/1.791, allocations: 5.001 MB / 0.6566 GB, free: 144.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007196/1.792, allocations: 61.86 kB / 0.6567 GB, free: 144.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003642/1.796, allocations: 3.892 MB / 0.6605 GB, free: 141.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.797, allocations: 0.9122 MB / 0.6614 GB, free: 140.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007863/1.798, allocations: 140.4 kB / 0.6615 GB, free: 140.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004263/1.798, allocations: 0.6105 MB / 0.6621 GB, free: 140.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008418/1.807, allocations: 3.225 MB / 0.6653 GB, free: 139 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01262/1.82, allocations: 7.467 MB / 0.6726 GB, free: 132.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01209/1.832, allocations: 4.762 MB / 0.6772 GB, free: 130.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001514/1.832, allocations: 43.28 kB / 0.6773 GB, free: 130.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.04608/1.878, allocations: 13.76 MB / 0.6907 GB, free: 125.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.878, allocations: 75.33 kB / 0.6908 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002228/1.878, allocations: 153.9 kB / 0.6909 GB, free: 125.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0206/1.899, allocations: 3.801 MB / 0.6946 GB, free: 123.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009459/1.909, allocations: 1.589 MB / 0.6962 GB, free: 122 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04312/1.952, allocations: 18.58 MB / 0.7143 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009379/1.961, allocations: 454.3 kB / 0.7148 GB, free: 103.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/1.963, allocations: 428 kB / 0.7152 GB, free: 103.4 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (854): * Single equations (assignments): 850 * Array equations: 3 * 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%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007717/1.971, allocations: 2.652 MB / 0.7178 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001346/1.972, allocations: 430.5 kB / 0.7182 GB, free: 100.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03098/2.003, allocations: 8.13 MB / 0.7261 GB, free: 92.18 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/2.003, allocations: 25.83 kB / 0.7261 GB, free: 92.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/2.003, allocations: 12 kB / 0.7261 GB, free: 92.14 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-05/2.003, allocations: 7.969 kB / 0.7261 GB, free: 92.14 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05461/2.058, allocations: 17.52 MB / 0.7433 GB, free: 74.59 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.21e-05/2.058, allocations: 4 kB / 0.7433 GB, free: 74.58 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003683/2.062, allocations: 395.3 kB / 0.7436 GB, free: 74.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02103/2.083, allocations: 3.831 MB / 0.7474 GB, free: 70.35 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006696/2.083, allocations: 39.36 kB / 0.7474 GB, free: 70.32 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04519/2.129, allocations: 17.02 MB / 0.764 GB, free: 53.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/2.129, allocations: 7.938 kB / 0.764 GB, free: 53.15 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05343/2.182, allocations: 12.62 MB / 0.7764 GB, free: 40.46 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004778/2.187, allocations: 0.9444 MB / 0.7773 GB, free: 39.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002041/2.189, allocations: 44.06 kB / 0.7773 GB, free: 39.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007559/2.197, allocations: 207.7 kB / 0.7775 GB, free: 39.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002126/2.199, allocations: 146.2 kB / 0.7777 GB, free: 39.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001129/2.2, allocations: 63.34 kB / 0.7777 GB, free: 39.05 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01246/2.213, allocations: 3.163 MB / 0.7808 GB, free: 35.9 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.503e-06/2.213, allocations: 0 / 0.7808 GB, free: 35.9 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01587/2.229, allocations: 1.467 MB / 0.7823 GB, free: 34.44 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (167): * Single equations (assignments): 163 * Array equations: 3 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0641/2.293, allocations: 13.53 MB / 0.7955 GB, free: 20.87 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3813/2.674, allocations: 7.841 MB / 0.8031 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/2.674, allocations: 0 / 0.8031 GB, free: 148.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007613/2.682, allocations: 2.975 MB / 0.806 GB, free: 148.6 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005023/2.687, allocations: 490.3 kB / 0.8065 GB, free: 148.5 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08376/2.771, allocations: 127.3 MB / 0.9308 GB, free: 28.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0127/2.784, allocations: 4.215 MB / 0.9349 GB, free: 26.97 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0132/2.797, allocations: 2.17 MB / 0.937 GB, free: 26.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006247/2.803, allocations: 2.487 MB / 0.9394 GB, free: 24.74 MB / 490.7 MB Notification: Performance of SimCode: time 2.244e-06/2.803, allocations: 0 / 0.9394 GB, free: 24.74 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.576/3.379, allocations: 110.3 MB / 1.047 GB, free: 118 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002868/3.38, allocations: 198.8 kB / 1.047 GB, free: 117.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.493/9.873, allocations: 0 / 1.047 GB, free: 117.7 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat does not exist to compare? outputFormat=mat