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.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_Modelica_Mechanics_Translational_Examples_SignConvention",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.079/2.079, allocations: 194.8 MB / 211.1 MB, free: 8.574 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005598/0.0005598, allocations: 8 kB / 264.1 MB, free: 3.496 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3929/0.3935, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1381/0.5317, allocations: 71.28 MB / 379.8 MB, free: 5.293 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.532, allocations: 67.97 kB / 379.9 MB, free: 5.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.545, allocations: 2.847 MB / 382.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5451, allocations: 0 / 382.8 MB, free: 2.363 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.5451, allocations: 8 kB / 382.8 MB, free: 2.355 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.000816/0.546, allocations: 442.7 kB / 383.2 MB, free: 1.875 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.535e-05/0.546, allocations: 8.031 kB / 383.2 MB, free: 1.867 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.96e-05/0.5461, allocations: 50.73 kB / 383.3 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.477e-05/0.5462, allocations: 23.75 kB / 383.3 MB, free: 1.785 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.5465, allocations: 218.6 kB / 383.5 MB, free: 1.531 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.5465, allocations: 12 kB / 383.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.306e-05/0.5466, allocations: 16 kB / 383.5 MB, free: 1.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.5471, allocations: 180.2 kB / 383.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5471, allocations: 0 / 383.7 MB, free: 1.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.919e-05/0.5471, allocations: 8 kB / 383.7 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.5472, allocations: 4 kB / 383.7 MB, free: 1.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.5475, allocations: 103.9 kB / 383.8 MB, free: 1.199 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.5493, allocations: 0.7678 MB / 384.6 MB, free: 372 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/0.5496, allocations: 119.8 kB / 384.7 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.5497, allocations: 0 / 384.7 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.5497, allocations: 42.81 kB / 384.7 MB, free: 172 kB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.165e-06/0.5497, allocations: 0 / 384.7 MB, free: 172 kB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004772/0.5502, allocations: 137.3 kB / 384.9 MB, free: 28 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.612e-05/0.5503, allocations: 114.8 kB / 385 MB, free: 15.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.5506, allocations: 187.3 kB / 385.2 MB, free: 15.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.5507, allocations: 29.7 kB / 385.2 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.5508, allocations: 135.6 kB / 385.3 MB, free: 15.53 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.5509, allocations: 59.27 kB / 385.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.5509, allocations: 4 kB / 385.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.5511, allocations: 326.8 kB / 385.7 MB, free: 15.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.5512, allocations: 40.45 kB / 385.7 MB, free: 15.1 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001914/0.5514, allocations: 124.9 kB / 385.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/0.5516, allocations: 67.92 kB / 385.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5516, allocations: 0 / 385.9 MB, free: 14.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005136/0.5521, allocations: 205.5 kB / 386.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.5522, allocations: 11.98 kB / 386.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.5522, allocations: 4 kB / 386.1 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/0.5522, allocations: 4.094 kB / 386.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003608/0.5526, allocations: 51.91 kB / 386.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.431e-05/0.5526, allocations: 4 kB / 386.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.5528, allocations: 31.64 kB / 386.2 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.364e-05/0.5529, allocations: 12.34 kB / 386.3 MB, free: 14.54 MB / 330.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.0001749/0.553, allocations: 137.7 kB / 386.4 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5532, allocations: 23.73 kB / 386.4 MB, free: 14.38 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.912e-05/0.5532, allocations: 17 kB / 386.4 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.5533, allocations: 4 kB / 386.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5533, allocations: 0 / 386.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/0.5533, allocations: 4 kB / 386.4 MB, free: 14.35 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000674/0.554, allocations: 253.4 kB / 386.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.554, allocations: 0 / 386.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.5543, allocations: 35.92 kB / 386.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.5544, allocations: 0 / 386.7 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/0.5544, allocations: 8 kB / 386.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.5544, allocations: 0 / 386.7 MB, free: 14.01 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5544, allocations: 4 kB / 386.7 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005412/0.555, allocations: 417.5 kB / 387.1 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.5551, allocations: 92.98 kB / 387.2 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.444e-05/0.5551, allocations: 4 kB / 387.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.5554, allocations: 7.938 kB / 387.2 MB, free: 13.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.904e-05/0.5554, allocations: 8 kB / 387.2 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.5554, allocations: 4 kB / 387.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.5556, allocations: 159.3 kB / 387.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5557, allocations: 0 / 387.4 MB, free: 13.28 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005139/0.5562, allocations: 43.84 kB / 387.4 MB, free: 13.23 MB / 330.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.0009314/0.5571, allocations: 1.091 MB / 388.5 MB, free: 12.11 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.5575, allocations: 107.8 kB / 388.6 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5575, allocations: 0 / 388.6 MB, free: 12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.901e-05/0.5576, allocations: 40.05 kB / 388.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.5582, allocations: 23.98 kB / 388.7 MB, free: 11.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003958/0.5622, allocations: 3.433 MB / 392.1 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.5626, allocations: 0.7362 MB / 392.9 MB, free: 7.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001354/0.5627, allocations: 13.55 kB / 392.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5629, allocations: 55.42 kB / 392.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5629, allocations: 0 / 392.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03225/0.5951, allocations: 3.191 MB / 396.1 MB, free: 4.41 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003706/0.5956, allocations: 196.5 kB / 396.3 MB, free: 4.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.769/3.365, allocations: 3.938 kB / 396.3 MB, free: 4.156 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.SignConvention_res.mat does not exist to compare? outputFormat=mat