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.Sensors.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.Sensors,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.044/2.044, allocations: 194.9 MB / 211.1 MB, free: 8.559 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007493/0.0007494, allocations: 11.98 kB / 264.1 MB, free: 3.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.407, allocations: 44.5 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.5956, allocations: 72.82 MB / 381.4 MB, free: 3.848 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003933/0.5961, allocations: 71.97 kB / 381.5 MB, free: 3.777 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.6126, allocations: 2.495 MB / 383.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.6126, allocations: 0 / 383.9 MB, free: 1.273 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.6127, allocations: 4 kB / 384 MB, free: 1.27 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009757/0.6137, allocations: 426.9 kB / 384.4 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.302e-05/0.6138, allocations: 8.031 kB / 384.4 MB, free: 0.7969 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.6139, allocations: 54.55 kB / 384.4 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.394e-05/0.614, allocations: 11.91 kB / 384.4 MB, free: 0.7227 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.6144, allocations: 198.8 kB / 384.6 MB, free: 500 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.6144, allocations: 12 kB / 384.6 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.6145, allocations: 12 kB / 384.7 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006104/0.6151, allocations: 145.4 kB / 384.8 MB, free: 324 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.6152, allocations: 3.984 kB / 384.8 MB, free: 320 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.052e-05/0.6152, allocations: 8 kB / 384.8 MB, free: 312 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.6153, allocations: 7.938 kB / 384.8 MB, free: 304 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005213/0.6158, allocations: 91.94 kB / 384.9 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.6175, allocations: 0.5368 MB / 385.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.6179, allocations: 82.48 kB / 385.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.6179, allocations: 0 / 385.5 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.283e-05/0.618, allocations: 34.56 kB / 385.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.618, allocations: 0 / 385.6 MB, free: 15.48 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.002119/0.6202, allocations: 0.6062 MB / 386.2 MB, free: 14.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.6203, allocations: 59.41 kB / 386.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002036/0.6205, allocations: 124.4 kB / 386.3 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.829e-05/0.6206, allocations: 29.7 kB / 386.4 MB, free: 14.55 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001351/0.6207, allocations: 128 kB / 386.5 MB, free: 14.42 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.916e-05/0.6208, allocations: 43.36 kB / 386.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.6208, allocations: 0 / 386.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.621, allocations: 322.8 kB / 386.9 MB, free: 14.05 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.6213, allocations: 31.98 kB / 386.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002556/0.6215, allocations: 90.84 kB / 387 MB, free: 13.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002501/0.6218, allocations: 44.95 kB / 387 MB, free: 13.87 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6218, allocations: 4 kB / 387 MB, free: 13.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006739/0.6225, allocations: 165.3 kB / 387.2 MB, free: 13.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.6226, allocations: 4 kB / 387.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.6226, allocations: 4 kB / 387.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/0.6227, allocations: 4 kB / 387.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/0.6231, allocations: 36.11 kB / 387.2 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.6231, allocations: 11.98 kB / 387.2 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001922/0.6233, allocations: 4 kB / 387.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.6234, allocations: 8 kB / 387.3 MB, free: 13.62 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0002131/0.6236, allocations: 125.8 kB / 387.4 MB, free: 13.49 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.601e-05/0.6237, allocations: 11.86 kB / 387.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.533e-05/0.6238, allocations: 16.38 kB / 387.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.6238, allocations: 0 / 387.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.6239, allocations: 3.984 kB / 387.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.6239, allocations: 4 kB / 387.4 MB, free: 13.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.6253, allocations: 455.9 kB / 387.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/0.6254, allocations: 3.984 kB / 387.9 MB, free: 12.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.6257, allocations: 28.05 kB / 387.9 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.6258, allocations: 7.938 kB / 387.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.171e-05/0.6258, allocations: 4 kB / 387.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.69e-06/0.6258, allocations: 0 / 387.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.6259, allocations: 4 kB / 387.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008144/0.6267, allocations: 284.1 kB / 388.2 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6268, allocations: 85.05 kB / 388.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.6269, allocations: 0 / 388.3 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.6271, allocations: 8 kB / 388.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.897e-05/0.6272, allocations: 11.94 kB / 388.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.138e-05/0.6272, allocations: 8.062 kB / 388.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001375/0.6274, allocations: 95.27 kB / 388.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.6274, allocations: 0 / 388.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006578/0.6281, allocations: 32 kB / 388.4 MB, free: 12.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.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 (11): * Single equations (assignments): 11 * 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.001379/0.6295, allocations: 0.9567 MB / 389.4 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005192/0.6301, allocations: 96.2 kB / 389.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.6301, allocations: 0 / 389.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002095/0.6303, allocations: 43.92 kB / 389.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.6308, allocations: 10.81 kB / 389.5 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.6347, allocations: 2.022 MB / 391.5 MB, free: 9.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.6352, allocations: 0.7199 MB / 392.3 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001598/0.6354, allocations: 8.875 kB / 392.3 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.6356, allocations: 47.42 kB / 392.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of SimCode: time 1.764e-06/0.6356, allocations: 0 / 392.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02834/0.664, allocations: 2.065 MB / 394.4 MB, free: 6.254 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.6643, allocations: 179.8 kB / 394.6 MB, free: 6.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.871/3.536, allocations: 0 / 394.6 MB, free: 6.012 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat