Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.787e-05, allocations: 4 kB / 303.3 MB, free: 13.21 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4008, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5685, allocations: 80.15 MB / 438.3 MB, free: 14.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5688, allocations: 63.97 kB / 438.3 MB, free: 14.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007545/0.5764, allocations: 1.642 MB / 440 MB, free: 12.89 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5764, allocations: 4 kB / 440 MB, free: 12.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.5765, allocations: 0 / 440 MB, free: 12.88 MB / 378.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.0006183/0.5771, allocations: 390.1 kB / 440.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.5772, allocations: 12.03 kB / 440.4 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/0.5772, allocations: 11.91 kB / 440.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5776, allocations: 200.3 kB / 440.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.5776, allocations: 0 / 440.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.951e-05/0.5776, allocations: 15.98 kB / 440.6 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/0.5778, allocations: 35.94 kB / 440.6 MB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.578, allocations: 73.66 kB / 440.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.578, allocations: 0 / 440.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.5781, allocations: 7.953 kB / 440.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5781, allocations: 0 / 440.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007122/0.5788, allocations: 337.2 kB / 441 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.579, allocations: 54.56 kB / 441.1 MB, free: 11.63 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.796e-05/0.579, allocations: 20.95 kB / 441.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.5791, allocations: 4 kB / 441.1 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002284/0.5793, allocations: 95.2 kB / 441.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 4.198e-06/0.5793, allocations: 0 / 441.2 MB, free: 11.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002967/0.5796, allocations: 93.5 kB / 441.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.5797, allocations: 51.41 kB / 441.3 MB, free: 11.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001454/0.5798, allocations: 127.7 kB / 441.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.5799, allocations: 29.64 kB / 441.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.58, allocations: 170.7 kB / 441.7 MB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.58, allocations: 27.64 kB / 441.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.5801, allocations: 0 / 441.7 MB, free: 10.97 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.5802, allocations: 318.8 kB / 442 MB, free: 10.65 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.626e-05/0.5803, allocations: 12 kB / 442 MB, free: 10.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.5804, allocations: 79.72 kB / 442.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.868e-05/0.5805, allocations: 23.98 kB / 442.1 MB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.5805, allocations: 8.031 kB / 442.1 MB, free: 10.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002698/0.5808, allocations: 117.3 kB / 442.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.5808, allocations: 8 kB / 442.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.5809, allocations: 0 / 442.2 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.5809, allocations: 4 kB / 442.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.5811, allocations: 27.92 kB / 442.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5811, allocations: 0 / 442.3 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.5812, allocations: 12.22 kB / 442.3 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.5813, allocations: 8 kB / 442.3 MB, free: 10.32 MB / 378.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 () * 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.0001011/0.5814, allocations: 111 kB / 442.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002151/0.5816, allocations: 97.38 kB / 442.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.5816, allocations: 7.906 kB / 442.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.014e-05/0.5817, allocations: 16.61 kB / 442.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.5817, allocations: 0 / 442.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.5817, allocations: 0 / 442.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.5817, allocations: 0 / 442.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.582, allocations: 182.3 kB / 442.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.582, allocations: 0 / 442.7 MB, free: 9.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001632/0.5822, allocations: 19.92 kB / 442.7 MB, free: 9.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.5822, allocations: 3.953 kB / 442.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.627e-05/0.5822, allocations: 0 / 442.7 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.5822, allocations: 4 kB / 442.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.5822, allocations: 0 / 442.7 MB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.5826, allocations: 148.9 kB / 442.9 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.945e-05/0.5827, allocations: 85.08 kB / 443 MB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.5827, allocations: 7.984 kB / 443 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.5828, allocations: 4 kB / 443 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.5829, allocations: 3.984 kB / 443 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.5829, allocations: 8 kB / 443 MB, free: 9.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.789e-05/0.583, allocations: 103.5 kB / 443.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.583, allocations: 0 / 443.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003231/0.5834, allocations: 31.91 kB / 443.1 MB, free: 9.422 MB / 378.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) * 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.0006836/0.5841, allocations: 0.6749 MB / 443.8 MB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.5843, allocations: 67.86 kB / 443.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5843, allocations: 0 / 443.9 MB, free: 8.652 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.5844, allocations: 20 kB / 443.9 MB, free: 8.633 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.5846, allocations: 16.44 kB / 443.9 MB, free: 8.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.5854, allocations: 230.2 kB / 444.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5857, allocations: 0.7041 MB / 444.8 MB, free: 7.617 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.408e-05/0.5858, allocations: 35.42 kB / 444.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5858, allocations: 0 / 444.9 MB, free: 7.582 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.587/3.173, allocations: 1.749 MB / 446.6 MB, free: 5.832 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat