Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.PrismaticInit,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_PrismaticInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.144/2.144, allocations: 209.2 MB / 224.8 MB, free: 0.7656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004508, allocations: 12 kB / 282.7 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1141, allocations: 48.71 MB / 331.4 MB, free: 8.77 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4475/0.5617, allocations: 90.53 MB / 421.9 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.5621, allocations: 71.95 kB / 422 MB, free: 10.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1525/0.7146, allocations: 33.26 MB / 455.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.7147, allocations: 0 / 455.2 MB, free: 8.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001191/0.7148, allocations: 32 kB / 455.3 MB, free: 8.965 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: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.006804/0.7216, allocations: 1.802 MB / 457.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.7217, allocations: 8.031 kB / 457.1 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009974/0.7227, allocations: 244.8 kB / 457.3 MB, free: 6.848 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003557/0.7263, allocations: 401.8 kB / 457.7 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01241/0.7388, allocations: 2.92 MB / 460.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000165/0.739, allocations: 110.8 kB / 460.7 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005727/0.7396, allocations: 136 kB / 460.9 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01003/0.7496, allocations: 2.905 MB / 463.8 MB, free: 120 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.29e-05/0.7498, allocations: 23.78 kB / 463.8 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002454/0.75, allocations: 63.97 kB / 463.9 MB, free: 32 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008041/0.7508, allocations: 262 kB / 464.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008734/0.7596, allocations: 2.112 MB / 466.2 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0219/0.7816, allocations: 11.27 MB / 477.5 MB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006623/0.7882, allocations: 1.079 MB / 478.6 MB, free: 0.9727 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005632/0.7939, allocations: 2.641 MB / 481.2 MB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.071e-05/0.794, allocations: 38.52 kB / 481.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 5.079e-06/0.7941, allocations: 4 kB / 481.2 MB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.01956/0.8136, allocations: 3.51 MB / 484.8 MB, free: 10.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.8137, allocations: 81.55 kB / 484.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002229/0.816, allocations: 1.054 MB / 485.9 MB, free: 9.297 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.8161, allocations: 33.7 kB / 485.9 MB, free: 9.258 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008751/0.817, allocations: 0.9301 MB / 486.9 MB, free: 8.316 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002829/0.8173, allocations: 201.4 kB / 487.1 MB, free: 8.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.009e-05/0.8174, allocations: 28 kB / 487.1 MB, free: 8.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002088/0.8176, allocations: 374.8 kB / 487.4 MB, free: 7.715 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.8187, allocations: 383.8 kB / 487.8 MB, free: 7.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.8204, allocations: 1.21 MB / 489 MB, free: 5.715 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.8221, allocations: 0.6458 MB / 489.7 MB, free: 5.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.383e-05/0.8221, allocations: 8 kB / 489.7 MB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.00399/0.8261, allocations: 1.584 MB / 491.3 MB, free: 3.469 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.8262, allocations: 20 kB / 491.3 MB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.205e-05/0.8263, allocations: 28 kB / 491.3 MB, free: 3.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003191/0.8266, allocations: 93.64 kB / 491.4 MB, free: 3.328 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002019/0.8286, allocations: 347.4 kB / 491.7 MB, free: 2.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00227/0.8309, allocations: 1.733 MB / 493.5 MB, free: 1.117 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.8325, allocations: 67.98 kB / 493.5 MB, free: 1.051 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001736/0.8327, allocations: 87.98 kB / 493.6 MB, free: 0.9648 MB / 410.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 () * Number of clocked 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.001663/0.8344, allocations: 0.6241 MB / 494.3 MB, free: 340 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003239/0.8347, allocations: 110.6 kB / 494.4 MB, free: 228 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.287/1.122, allocations: 0.6513 MB / 495 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/1.122, allocations: 5.5 kB / 495 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/1.122, allocations: 1.406 kB / 495 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.122, allocations: 7.5 kB / 495 MB, free: 109.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006332/1.128, allocations: 2.143 MB / 497.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.128, allocations: 6.188 kB / 497.2 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/1.129, allocations: 92.23 kB / 497.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003148/1.129, allocations: 64.02 kB / 497.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.767e-05/1.129, allocations: 18.02 kB / 497.3 MB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00212/1.131, allocations: 1.76 MB / 499.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/1.132, allocations: 8.312 kB / 499.1 MB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002649/1.134, allocations: 1.193 MB / 0.4886 GB, free: 107 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006409/1.135, allocations: 215.8 kB / 0.4888 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/1.135, allocations: 16.62 kB / 0.4888 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006313/1.136, allocations: 23.08 kB / 0.4888 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.136, allocations: 50.16 kB / 0.4889 GB, free: 106.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/1.136, allocations: 17.69 kB / 0.4889 GB, free: 106.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001854/1.138, allocations: 0.7512 MB / 0.4896 GB, free: 106.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.138, allocations: 1.375 kB / 0.4896 GB, free: 106.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002349/1.14, allocations: 296.5 kB / 0.4899 GB, free: 106.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (47): * Single equations (assignments): 46 * 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.003171/1.143, allocations: 2.721 MB / 0.4926 GB, free: 104.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002945/1.146, allocations: 1.032 MB / 0.4936 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.146, allocations: 1.094 kB / 0.4936 GB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009565/1.147, allocations: 379 kB / 0.4939 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/1.149, allocations: 162.1 kB / 0.4941 GB, free: 104.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01539/1.164, allocations: 24.9 MB / 0.5184 GB, free: 81.87 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002065/1.167, allocations: 1.455 MB / 0.5198 GB, free: 81.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/1.168, allocations: 0.5667 MB / 0.5204 GB, free: 81.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.823e-06/1.168, allocations: 4 kB / 0.5204 GB, free: 81.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.156/4.323, allocations: 28.21 MB / 0.5479 GB, free: 76.93 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat does not exist to compare? outputFormat=mat