Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 235.1 MB / 243 MB, free: 9.598 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.763e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3398, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5116, allocations: 96.47 MB / 454.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5119, allocations: 79.89 kB / 454.7 MB, free: 14.17 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4275/0.9395, allocations: 32.59 MB / 487.3 MB, free: 92.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.9395, allocations: 0 / 487.3 MB, free: 92.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.705e-05/0.9396, allocations: 37.69 kB / 487.3 MB, free: 92.25 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.004904/0.9445, allocations: 1.65 MB / 489 MB, free: 91.06 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.9446, allocations: 9.719 kB / 489 MB, free: 91.06 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003224/0.9478, allocations: 404.9 kB / 489.4 MB, free: 90.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01041/0.9583, allocations: 2.9 MB / 492.3 MB, free: 88.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-05/0.9584, allocations: 44 kB / 492.3 MB, free: 88.02 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003059/0.9587, allocations: 88 kB / 492.4 MB, free: 87.93 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00363/0.9624, allocations: 1.705 MB / 494.1 MB, free: 86.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/0.9669, allocations: 2.439 MB / 496.5 MB, free: 83.56 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.942e-05/0.967, allocations: 19.78 kB / 496.5 MB, free: 83.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001858/0.9672, allocations: 8 kB / 496.6 MB, free: 83.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006726/0.9679, allocations: 262 kB / 496.8 MB, free: 83.28 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01681/0.9847, allocations: 11.62 MB / 0.4965 GB, free: 71.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.9857, allocations: 493.6 kB / 0.497 GB, free: 70.79 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005413/0.9862, allocations: 298.4 kB / 0.4973 GB, free: 70.49 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/0.9867, allocations: 335.1 kB / 0.4976 GB, free: 70.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.9867, allocations: 38.56 kB / 0.4976 GB, free: 70.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.126e-06/0.9867, allocations: 4 kB / 0.4976 GB, free: 70.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.01231/0.999, allocations: 2.875 MB / 0.5004 GB, free: 67.09 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.9991, allocations: 115.2 kB / 0.5005 GB, free: 66.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001607/1.001, allocations: 0.9177 MB / 0.5014 GB, free: 66.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001243/1.001, allocations: 29.7 kB / 0.5015 GB, free: 65.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005795/1.002, allocations: 0.9379 MB / 0.5024 GB, free: 65.03 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001874/1.002, allocations: 189.4 kB / 0.5026 GB, free: 64.84 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.084e-05/1.002, allocations: 0 / 0.5026 GB, free: 64.84 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001154/1.002, allocations: 378.7 kB / 0.5029 GB, free: 64.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/1.003, allocations: 339.9 kB / 0.5033 GB, free: 64.13 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001109/1.004, allocations: 1.156 MB / 0.5044 GB, free: 62.57 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/1.005, allocations: 0.6026 MB / 0.505 GB, free: 61.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.718e-05/1.005, allocations: 8 kB / 0.505 GB, free: 61.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.003045/1.008, allocations: 1.363 MB / 0.5063 GB, free: 60.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/1.008, allocations: 25.36 kB / 0.5063 GB, free: 60.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/1.008, allocations: 28 kB / 0.5064 GB, free: 60.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003064/1.008, allocations: 96.84 kB / 0.5065 GB, free: 60.44 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002042/1.011, allocations: 343.4 kB / 0.5068 GB, free: 60.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001675/1.012, allocations: 1.645 MB / 0.5084 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.014, allocations: 39.97 kB / 0.5084 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/1.014, allocations: 84 kB / 0.5085 GB, free: 58.22 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 24 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003022/1.014, allocations: 196.5 kB / 0.5087 GB, free: 58.03 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001344/1.016, allocations: 0.5619 MB / 0.5092 GB, free: 57.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.016, allocations: 106.6 kB / 0.5093 GB, free: 57.35 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/1.017, allocations: 0.6245 MB / 0.51 GB, free: 56.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.017, allocations: 8 kB / 0.51 GB, free: 56.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/1.017, allocations: 0 / 0.51 GB, free: 56.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/1.017, allocations: 3.984 kB / 0.51 GB, free: 56.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004075/1.022, allocations: 1.845 MB / 0.5118 GB, free: 54.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.022, allocations: 4 kB / 0.5118 GB, free: 54.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/1.022, allocations: 99.81 kB / 0.5119 GB, free: 54.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002594/1.023, allocations: 61.3 kB / 0.5119 GB, free: 54.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/1.023, allocations: 12.06 kB / 0.5119 GB, free: 54.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001704/1.024, allocations: 1.677 MB / 0.5136 GB, free: 52.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.096e-06/1.024, allocations: 7.938 kB / 0.5136 GB, free: 52.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00175/1.026, allocations: 1.132 MB / 0.5147 GB, free: 51.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004563/1.027, allocations: 215.7 kB / 0.5149 GB, free: 51.28 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/1.027, allocations: 8.047 kB / 0.5149 GB, free: 51.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000656/1.028, allocations: 19.98 kB / 0.5149 GB, free: 51.25 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.662e-05/1.028, allocations: 39.84 kB / 0.515 GB, free: 51.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-05/1.028, allocations: 20 kB / 0.515 GB, free: 51.19 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001154/1.029, allocations: 0.6362 MB / 0.5156 GB, free: 50.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.029, allocations: 4 kB / 0.5156 GB, free: 50.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001991/1.031, allocations: 263.9 kB / 0.5159 GB, free: 50.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002337/1.033, allocations: 2.743 MB / 0.5185 GB, free: 47.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/1.036, allocations: 0.9205 MB / 0.5194 GB, free: 46.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/1.036, allocations: 4 kB / 0.5194 GB, free: 46.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006663/1.036, allocations: 359.1 kB / 0.5198 GB, free: 46.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/1.038, allocations: 132.4 kB / 0.5199 GB, free: 45.99 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006948/1.045, allocations: 2.576 MB / 0.5224 GB, free: 43.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001483/1.046, allocations: 1.457 MB / 0.5238 GB, free: 41.82 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000947/1.047, allocations: 0.5618 MB / 0.5244 GB, free: 41.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.934e-06/1.047, allocations: 4 kB / 0.5244 GB, free: 41.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.236/4.283, allocations: 27.91 MB / 0.5517 GB, free: 13.31 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat