Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.RootMeanSquare.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.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.05/2.05, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004326/0.0004327, allocations: 8 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 48.7 MB / 331.4 MB, free: 6.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.159/0.4979, allocations: 74.54 MB / 405.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.4983, allocations: 63.97 kB / 406 MB, free: 3.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009533/0.5079, allocations: 1.653 MB / 407.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.5079, allocations: 0 / 407.6 MB, free: 2.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.5079, allocations: 4 kB / 407.6 MB, free: 2.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007813/0.5087, allocations: 396.7 kB / 408 MB, free: 1.637 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.5088, allocations: 12.03 kB / 408 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.273e-05/0.5089, allocations: 38.55 kB / 408.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.621e-05/0.509, allocations: 15.81 kB / 408.1 MB, free: 1.562 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003446/0.5093, allocations: 214.8 kB / 408.3 MB, free: 1.312 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.626e-05/0.5093, allocations: 4 kB / 408.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.57e-05/0.5094, allocations: 8 kB / 408.3 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003086/0.5097, allocations: 97.58 kB / 408.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.5097, allocations: 0 / 408.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.5098, allocations: 0 / 408.4 MB, free: 1.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.5098, allocations: 4 kB / 408.4 MB, free: 1.195 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.51, allocations: 51.97 kB / 408.4 MB, free: 1.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000781/0.5108, allocations: 368.6 kB / 408.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.5111, allocations: 66.53 kB / 408.9 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5111, allocations: 10.27 kB / 408.9 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002949/0.5114, allocations: 95.48 kB / 409 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.855e-06/0.5114, allocations: 0 / 409 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005603/0.512, allocations: 137.5 kB / 409.1 MB, free: 416 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.497e-05/0.5121, allocations: 59.39 kB / 409.2 MB, free: 344 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.5123, allocations: 128.4 kB / 409.3 MB, free: 208 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.5123, allocations: 25.7 kB / 409.3 MB, free: 176 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.5124, allocations: 170.7 kB / 409.5 MB, free: 0 / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.955e-05/0.5125, allocations: 27.78 kB / 409.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.5125, allocations: 4 kB / 409.5 MB, free: 15.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002047/0.5128, allocations: 322.8 kB / 409.8 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.5129, allocations: 19.98 kB / 409.8 MB, free: 15.62 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.5131, allocations: 99.52 kB / 409.9 MB, free: 15.5 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001571/0.5133, allocations: 32 kB / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.5133, allocations: 0 / 410 MB, free: 15.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000443/0.5138, allocations: 141.5 kB / 410.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5138, allocations: 7.781 kB / 410.1 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5138, allocations: 4 kB / 410.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.5138, allocations: 4 kB / 410.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.5141, allocations: 27.92 kB / 410.2 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.5141, allocations: 8.312 kB / 410.2 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5142, allocations: 16.12 kB / 410.2 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.613e-05/0.5143, allocations: 8 kB / 410.2 MB, free: 15.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.mean1.y,mean1.y,$whenCondition2,$whenCondition1,$PRE.rootMeanSquare.mean.y,rootMeanSquare.mean.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001673/0.5144, allocations: 129.8 kB / 410.3 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.5145, allocations: 11.84 kB / 410.3 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.461e-05/0.5146, allocations: 16.67 kB / 410.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.5146, allocations: 0 / 410.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.5146, allocations: 0 / 410.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.5146, allocations: 3.984 kB / 410.3 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/0.5148, allocations: 201.5 kB / 410.5 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5149, allocations: 4 kB / 410.5 MB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001785/0.5151, allocations: 19.98 kB / 410.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.5151, allocations: 0 / 410.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.742e-05/0.5151, allocations: 0 / 410.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.5151, allocations: 3.953 kB / 410.6 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5151, allocations: 4 kB / 410.6 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005508/0.5157, allocations: 180.8 kB / 410.7 MB, free: 14.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.756e-05/0.5158, allocations: 89.03 kB / 410.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.5159, allocations: 7.984 kB / 410.8 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.516, allocations: 4 kB / 410.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.708e-05/0.516, allocations: 15.88 kB / 410.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-05/0.5161, allocations: 8 kB / 410.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001062/0.5162, allocations: 99.27 kB / 411 MB, free: 14.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5162, allocations: 0 / 411 MB, free: 14.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003469/0.5166, allocations: 28.05 kB / 411 MB, free: 14.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y,rootMeanSquare.mean.y) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009164/0.5175, allocations: 0.71 MB / 411.7 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003566/0.5179, allocations: 94.2 kB / 411.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5179, allocations: 0 / 411.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001557/0.5181, allocations: 31.98 kB / 411.8 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.5183, allocations: 16.52 kB / 411.8 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001668/0.52, allocations: 1.765 MB / 413.6 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003616/0.5204, allocations: 0.7004 MB / 414.3 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.5205, allocations: 31.42 kB / 414.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5206, allocations: 3.938 kB / 414.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.401, allocations: 1.75 MB / 416.1 MB, free: 9.105 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat