Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01287/0.01287, allocations: 107.9 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001332/0.001332, allocations: 183.6 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.055/2.055, allocations: 194.6 MB / 211.3 MB, free: 10.96 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3203/0.3203, allocations: 40.04 MB / 296.5 MB, free: 6.238 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000679/0.0006792, allocations: 12 kB / 361.1 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1562, allocations: 54.87 MB / 416 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.004839/0.1611, allocations: 1.321 MB / 417.3 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.163, allocations: 0.5275 MB / 417.9 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.1632, allocations: 3.938 kB / 417.9 MB, free: 0.668 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.1633, allocations: 11.91 kB / 417.9 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.208e-05/0.1635, allocations: 11.98 kB / 417.9 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004233/0.1639, allocations: 43.83 kB / 417.9 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002243/0.1641, allocations: 67.84 kB / 418 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1644, allocations: 35.95 kB / 418 MB, free: 0.5 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001639/0.1645, allocations: 23.92 kB / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001945/0.1648, allocations: 39.77 kB / 418.1 MB, free: 448 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.157e-05/0.1648, allocations: 4 kB / 418.1 MB, free: 444 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.206e-05/0.1649, allocations: 4 kB / 418.1 MB, free: 440 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.805e-05/0.165, allocations: 11.98 kB / 418.1 MB, free: 428 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.1651, allocations: 41.64 kB / 418.2 MB, free: 380 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1654, allocations: 68.14 kB / 418.2 MB, free: 312 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1654, allocations: 4 kB / 418.2 MB, free: 308 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1654, allocations: 0 / 418.2 MB, free: 308 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1655, allocations: 0 / 418.2 MB, free: 308 kB / 346.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.001226/0.1667, allocations: 395 kB / 418.6 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.112e-05/0.1668, allocations: 8.031 kB / 418.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.618e-05/0.1669, allocations: 42.48 kB / 418.7 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.167, allocations: 15.91 kB / 418.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003975/0.1674, allocations: 198.9 kB / 418.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.1674, allocations: 4 kB / 418.9 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.181e-05/0.1675, allocations: 11.95 kB / 418.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.168, allocations: 97.58 kB / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.1681, allocations: 0 / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.1681, allocations: 4 kB / 419 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1681, allocations: 3.938 kB / 419 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004035/0.1686, allocations: 55.91 kB / 419 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001208/0.1698, allocations: 368.6 kB / 419.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/0.1701, allocations: 62.5 kB / 419.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/0.1702, allocations: 4.094 kB / 419.5 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003703/0.1706, allocations: 95.39 kB / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.865e-06/0.1706, allocations: 0 / 419.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007204/0.1713, allocations: 137.4 kB / 419.7 MB, free: 14.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.506e-05/0.1714, allocations: 59.34 kB / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.1717, allocations: 140.4 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.795e-05/0.1718, allocations: 25.7 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/0.172, allocations: 104.3 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.1721, allocations: 27.8 kB / 420 MB, free: 14.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.848e-05/0.1721, allocations: 4 kB / 420.1 MB, free: 14.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.1723, allocations: 326.8 kB / 420.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1726, allocations: 27.98 kB / 420.4 MB, free: 13.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1728, allocations: 83.7 kB / 420.5 MB, free: 13.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002193/0.1731, allocations: 39.92 kB / 420.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.1731, allocations: 0 / 420.5 MB, free: 13.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006386/0.1737, allocations: 149.4 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.031e-05/0.1738, allocations: 4 kB / 420.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.1738, allocations: 4 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.1739, allocations: 4 kB / 420.7 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000262/0.1741, allocations: 19.98 kB / 420.7 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.1742, allocations: 7.938 kB / 420.7 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002069/0.1744, allocations: 20.06 kB / 420.7 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.1744, allocations: 11.98 kB / 420.7 MB, free: 13.54 MB / 362.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.000194/0.1747, allocations: 126.2 kB / 420.9 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/0.1747, allocations: 7.906 kB / 420.9 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.1748, allocations: 8.719 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.848e-06/0.1748, allocations: 4 kB / 420.9 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.1749, allocations: 7.938 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/0.1749, allocations: 3.984 kB / 420.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.1752, allocations: 205.5 kB / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1752, allocations: 0 / 421.1 MB, free: 13.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/0.1755, allocations: 15.92 kB / 421.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1755, allocations: 4 kB / 421.1 MB, free: 13.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1756, allocations: 4 kB / 421.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.1756, allocations: 3.984 kB / 421.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1756, allocations: 0 / 421.1 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008013/0.1764, allocations: 172.8 kB / 421.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.1765, allocations: 96.97 kB / 421.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.604e-05/0.1766, allocations: 0 / 421.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001493/0.1768, allocations: 4 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.121e-05/0.1769, allocations: 7.984 kB / 421.4 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.754e-05/0.1769, allocations: 8 kB / 421.4 MB, free: 12.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.1771, allocations: 107.2 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.22e-07/0.1771, allocations: 4.062 kB / 421.5 MB, free: 12.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004809/0.1776, allocations: 12 kB / 421.5 MB, free: 12.66 MB / 362.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.001218/0.1788, allocations: 0.7099 MB / 422.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005123/0.1794, allocations: 88.02 kB / 422.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/0.1794, allocations: 0 / 422.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1797, allocations: 35.86 kB / 422.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.1799, allocations: 11.12 kB / 422.4 MB, free: 11.79 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.182, allocations: 1.743 MB / 424.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/0.1825, allocations: 0.7043 MB / 424.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001273/0.1827, allocations: 16.83 kB / 424.8 MB, free: 9.215 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1828, allocations: 27.44 kB / 424.9 MB, free: 9.188 MB / 362.7 MB Notification: Performance of SimCode: time 1.503e-06/0.1828, allocations: 4 kB / 424.9 MB, free: 9.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.2084, allocations: 1.95 MB / 426.8 MB, free: 7.293 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000326/0.2088, allocations: 169.2 kB / 427 MB, free: 7.051 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/2.658, allocations: 0 / 427 MB, free: 7.051 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat