Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.InitialConditions.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004885, allocations: 15.98 kB / 264.1 MB, free: 3.465 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3004, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.InitialConditions): time 0.003175/0.3036, allocations: 1.933 MB / 310.5 MB, free: 10.83 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006839/0.3043, allocations: 251.2 kB / 310.7 MB, free: 10.59 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001542/0.3045, allocations: 4 kB / 310.7 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.725e-05/0.3046, allocations: 35.75 kB / 310.8 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.3049, allocations: 107.7 kB / 310.9 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.3051, allocations: 43.94 kB / 310.9 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003848/0.3055, allocations: 223.5 kB / 311.1 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002233/0.3058, allocations: 85.48 kB / 311.2 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/0.3059, allocations: 95.59 kB / 311.3 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002413/0.3062, allocations: 115.5 kB / 311.4 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.3062, allocations: 12 kB / 311.4 MB, free: 9.883 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.3063, allocations: 16 kB / 311.5 MB, free: 9.867 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.17e-05/0.3064, allocations: 43.78 kB / 311.5 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.3065, allocations: 77.58 kB / 311.6 MB, free: 9.742 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003228/0.3068, allocations: 228.3 kB / 311.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.3068, allocations: 0 / 311.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3068, allocations: 0 / 311.8 MB, free: 9.52 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3069, allocations: 0 / 311.8 MB, free: 9.52 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001047/0.3079, allocations: 0.5301 MB / 312.3 MB, free: 8.938 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/0.308, allocations: 8.031 kB / 312.3 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.5e-05/0.3081, allocations: 66.53 kB / 312.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.873e-05/0.3082, allocations: 31.62 kB / 312.4 MB, free: 8.824 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.3085, allocations: 238.6 kB / 312.7 MB, free: 8.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.3086, allocations: 20.56 kB / 312.7 MB, free: 8.531 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.266e-05/0.3086, allocations: 31.91 kB / 312.7 MB, free: 8.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006024/0.3093, allocations: 242.6 kB / 313 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.653e-05/0.3093, allocations: 7.984 kB / 313 MB, free: 8.242 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.597e-05/0.3093, allocations: 11.98 kB / 313 MB, free: 8.23 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.3094, allocations: 8 kB / 313 MB, free: 8.223 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.3099, allocations: 179.8 kB / 313.2 MB, free: 8.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/0.3114, allocations: 0.7459 MB / 313.9 MB, free: 7.246 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.3121, allocations: 269 kB / 314.2 MB, free: 6.965 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.3121, allocations: 4.625 kB / 314.2 MB, free: 6.961 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.812e-05/0.3121, allocations: 38.56 kB / 314.2 MB, free: 6.914 MB / 250.7 MB Notification: Performance of pre-optimization done (n=36): time 2.945e-06/0.3122, allocations: 0 / 314.2 MB, free: 6.914 MB / 250.7 MB Notification: Performance of matching and sorting (n=48): time 0.004049/0.3162, allocations: 1.707 MB / 315.9 MB, free: 5.031 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.545e-05/0.3163, allocations: 85.11 kB / 316 MB, free: 4.93 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.3166, allocations: 179.3 kB / 316.2 MB, free: 4.742 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.274e-05/0.3166, allocations: 29.7 kB / 316.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000131/0.3168, allocations: 148.6 kB / 316.4 MB, free: 4.555 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.317, allocations: 173.5 kB / 316.5 MB, free: 4.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.317, allocations: 8 kB / 316.5 MB, free: 4.375 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3172, allocations: 342.8 kB / 316.9 MB, free: 4.031 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.3175, allocations: 101.1 kB / 317 MB, free: 3.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.3179, allocations: 153.4 kB / 317.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003998/0.3183, allocations: 138.2 kB / 317.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3183, allocations: 0 / 317.2 MB, free: 3.633 MB / 250.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008519/0.3192, allocations: 366.3 kB / 317.6 MB, free: 3.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3192, allocations: 4 kB / 317.6 MB, free: 3.266 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3192, allocations: 4 kB / 317.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3192, allocations: 0 / 317.6 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007294/0.32, allocations: 103.9 kB / 317.7 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.32, allocations: 3.938 kB / 317.7 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.3202, allocations: 16 kB / 317.7 MB, free: 3.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.3203, allocations: 20.06 kB / 317.8 MB, free: 3.121 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 initialization (58): * Single equations (assignments): 58 * 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.0002014/0.3205, allocations: 153.7 kB / 317.9 MB, free: 2.961 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.622e-05/0.3206, allocations: 27.72 kB / 317.9 MB, free: 2.934 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001143/0.3207, allocations: 37.88 kB / 318 MB, free: 2.898 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3207, allocations: 4 kB / 318 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3207, allocations: 0 / 318 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.3208, allocations: 7.984 kB / 318 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001983/0.3228, allocations: 0.9517 MB / 318.9 MB, free: 1.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.3228, allocations: 12.05 kB / 318.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008254/0.3236, allocations: 95.84 kB / 319 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.3237, allocations: 0 / 319 MB, free: 1.766 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.582e-05/0.3237, allocations: 8 kB / 319 MB, free: 1.758 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.3237, allocations: 7.984 kB / 319.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.3237, allocations: 0 / 319.1 MB, free: 1.75 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001166/0.3249, allocations: 0.6433 MB / 319.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.196e-05/0.325, allocations: 100.8 kB / 319.8 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.742e-05/0.3251, allocations: 8 kB / 319.8 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3254, allocations: 12 kB / 319.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.555e-05/0.3254, allocations: 31.94 kB / 319.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.3255, allocations: 12 kB / 319.9 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001439/0.3256, allocations: 127.4 kB / 320 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3256, allocations: 0 / 320 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000534/0.3262, allocations: 88 kB / 320.1 MB, free: 0.6914 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (m1.s,m1.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel,m4.s,m4.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 (48): * Single equations (assignments): 48 * 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.001476/0.3277, allocations: 1.192 MB / 321.3 MB, free: 15.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.3284, allocations: 286.7 kB / 321.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3284, allocations: 0 / 321.5 MB, free: 15.19 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003441/0.3288, allocations: 160.4 kB / 321.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006543/0.3295, allocations: 48.16 kB / 321.7 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004498/0.334, allocations: 2.168 MB / 323.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.3344, allocations: 0.7845 MB / 324.7 MB, free: 11.93 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000234/0.3347, allocations: 26.97 kB / 324.7 MB, free: 11.9 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.3349, allocations: 103.4 kB / 324.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3349, allocations: 4 kB / 324.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03274/0.3677, allocations: 5.501 MB / 330.3 MB, free: 6.336 MB / 266.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002895/0.3681, allocations: 195.1 kB / 330.5 MB, free: 6.09 MB / 266.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.625/2.993, allocations: 0 / 330.5 MB, free: 6.09 MB / 266.7 MB "" Variables in the reference:time,m1.s,m1.v,m3.s,m3.v,sd1.s_rel,sd1.v_rel,sd2.s_rel,sd2.v_rel Variables in the result:der(der(m2.flange_a.s)),der(der(m4.flange_a.s)),der(der(sd1.flange_a.s)),der(der(sd2.flange_a.s)),der(m1.s),der(m1.v),der(m2.flange_a.s),der(m2.s),der(m2.v),der(m3.s),der(m3.v),der(m4.flange_a.s),der(m4.s),der(m4.v),der(sd1.flange_a.s),der(sd1.s_rel),der(sd1.v_rel),der(sd2.flange_a.s),der(sd2.s_rel),der(sd2.v_rel),fixed1.flange.f,fixed1.flange.s,fixed1.s0,fixed2.flange.f,fixed2.flange.s,fixed2.s0,m1.L,m1.a,m1.flange_a.f,m1.flange_a.s,m1.flange_b.f,m1.flange_b.s,m1.m,m1.s,m1.stateSelect,m1.v,m2.L,m2.a,m2.flange_a.f,m2.flange_a.s,m2.flange_b.f,m2.flange_b.s,m2.m,m2.s,m2.stateSelect,m2.v,m3.L,m3.a,m3.flange_a.f,m3.flange_a.s,m3.flange_b.f,m3.flange_b.s,m3.m,m3.s,m3.stateSelect,m3.v,m4.L,m4.a,m4.flange_a.f,m4.flange_a.s,m4.flange_b.f,m4.flange_b.s,m4.m,m4.s,m4.stateSelect,m4.v,s1.c,s1.f,s1.flange_a.f,s1.flange_a.s,s1.flange_b.f,s1.flange_b.s,s1.s_rel,s1.s_rel0,s2.c,s2.f,s2.flange_a.f,s2.flange_a.s,s2.flange_b.f,s2.flange_b.s,s2.s_rel,s2.s_rel0,sd1.c,sd1.d,sd1.f,sd1.f_c,sd1.f_d,sd1.flange_a.f,sd1.flange_a.s,sd1.flange_b.f,sd1.flange_b.s,sd1.lossPower,sd1.s_nominal,sd1.s_rel,sd1.s_rel0,sd1.stateSelect,sd1.useHeatPort,sd1.v_rel,sd2.c,sd2.d,sd2.f,sd2.f_c,sd2.f_d,sd2.flange_a.f,sd2.flange_a.s,sd2.flange_b.f,sd2.flange_b.s,sd2.lossPower,sd2.s_nominal,sd2.s_rel,sd2.s_rel0,sd2.stateSelect,sd2.useHeatPort,sd2.v_rel,time