Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention.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.SignConvention,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 194.9 MB / 211.7 MB, free: 2.992 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004885, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1111, allocations: 44.52 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5798, allocations: 71.27 MB / 379.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5802, allocations: 67.5 kB / 379.9 MB, free: 14.55 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01219/0.5924, allocations: 2.846 MB / 382.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5924, allocations: 0 / 382.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.5925, allocations: 3.5 kB / 382.7 MB, free: 14.04 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0007183/0.5932, allocations: 441.1 kB / 383.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.5933, allocations: 9.219 kB / 383.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.5933, allocations: 53.42 kB / 383.2 MB, free: 13.6 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.5934, allocations: 20.62 kB / 383.2 MB, free: 13.59 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.5937, allocations: 212.2 kB / 383.4 MB, free: 13.38 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5937, allocations: 17.25 kB / 383.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.444e-05/0.5938, allocations: 15.12 kB / 383.5 MB, free: 13.37 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.5942, allocations: 175.1 kB / 383.6 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.5942, allocations: 1.031 kB / 383.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.5943, allocations: 8.938 kB / 383.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.5943, allocations: 4.344 kB / 383.7 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002813/0.5946, allocations: 100.9 kB / 383.8 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.5961, allocations: 0.7794 MB / 384.5 MB, free: 12.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.5964, allocations: 115.5 kB / 384.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.5965, allocations: 1.438 kB / 384.7 MB, free: 12.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5965, allocations: 35.09 kB / 384.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.015e-06/0.5965, allocations: 0 / 384.7 MB, free: 12.65 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004951/0.597, allocations: 140.9 kB / 384.8 MB, free: 12.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5971, allocations: 116.1 kB / 384.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.5973, allocations: 192.9 kB / 385.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.5974, allocations: 29.02 kB / 385.2 MB, free: 12.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.479e-05/0.5975, allocations: 199.6 kB / 385.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.5975, allocations: 49.56 kB / 385.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.201e-05/0.5976, allocations: 4.562 kB / 385.4 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.5976, allocations: 319.5 kB / 385.7 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001082/0.5978, allocations: 43.02 kB / 385.8 MB, free: 11.81 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.5979, allocations: 128.8 kB / 385.9 MB, free: 11.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001548/0.5981, allocations: 63.55 kB / 385.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.5981, allocations: 1.375 kB / 385.9 MB, free: 11.69 MB / 314.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004322/0.5985, allocations: 203.4 kB / 386.1 MB, free: 11.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.5986, allocations: 6.625 kB / 386.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.5986, allocations: 3.156 kB / 386.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.5986, allocations: 9.156 kB / 386.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.599, allocations: 43.5 kB / 386.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.599, allocations: 5.062 kB / 386.2 MB, free: 11.62 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.5992, allocations: 31.08 kB / 386.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.462e-05/0.5992, allocations: 19.7 kB / 386.3 MB, free: 11.6 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (27): * Single equations (assignments): 27 * 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.0001501/0.5994, allocations: 134.5 kB / 386.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/0.5995, allocations: 16.22 kB / 386.4 MB, free: 11.47 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.478e-05/0.5996, allocations: 21.42 kB / 386.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.5996, allocations: 2.25 kB / 386.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.5996, allocations: 1.094 kB / 386.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.5996, allocations: 1.156 kB / 386.4 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006244/0.6003, allocations: 247.8 kB / 386.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6003, allocations: 0 / 386.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.6006, allocations: 38.38 kB / 386.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.176e-06/0.6006, allocations: 2.062 kB / 386.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/0.6007, allocations: 5.469 kB / 386.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6007, allocations: 1.125 kB / 386.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.6007, allocations: 1.094 kB / 386.7 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004481/0.6012, allocations: 425.6 kB / 387.1 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.6013, allocations: 92.27 kB / 387.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.615e-05/0.6013, allocations: 6.125 kB / 387.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.6016, allocations: 5.141 kB / 387.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.139e-05/0.6016, allocations: 11.5 kB / 387.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.395e-05/0.6016, allocations: 5.625 kB / 387.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001866/0.6018, allocations: 146.3 kB / 387.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6018, allocations: 0 / 387.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005481/0.6024, allocations: 45.12 kB / 387.4 MB, free: 10.74 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (mass1.s,mass1.v,mass2.s,mass2.v,mass3.s,mass3.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 (13): * Single equations (assignments): 13 * 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.0006523/0.6031, allocations: 1.098 MB / 388.5 MB, free: 9.734 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003374/0.6034, allocations: 108.1 kB / 388.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.6034, allocations: 1.375 kB / 388.6 MB, free: 9.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.503e-05/0.6035, allocations: 36.98 kB / 388.7 MB, free: 9.719 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.6041, allocations: 25.31 kB / 388.7 MB, free: 9.715 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.6074, allocations: 3.466 MB / 392.2 MB, free: 6.805 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.6077, allocations: 0.7323 MB / 392.9 MB, free: 6.102 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001295/0.6078, allocations: 54.97 kB / 393 MB, free: 6.094 MB / 314.7 MB Notification: Performance of SimCode: time 1.323e-06/0.6078, allocations: 0 / 393 MB, free: 6.094 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.557/3.165, allocations: 2.785 MB / 395.7 MB, free: 5.879 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat