Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.RootMeanSquare,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_RootMeanSquare",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009918/0.009918, allocations: 166.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.797/1.797, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001875/0.001875, allocations: 111.3 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4346/0.4346, allocations: 38.06 MB / 303.7 MB, free: 42.33 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004918/0.0004915, allocations: 15.94 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3974/0.5, allocations: 74.53 MB / 486.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5003, allocations: 62.78 kB / 486.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006908/0.5073, allocations: 1.66 MB / 487.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.5073, allocations: 0 / 487.9 MB, free: 11.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5073, allocations: 0 / 487.9 MB, free: 11.42 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.0006177/0.508, allocations: 393.3 kB / 488.3 MB, free: 11 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.508, allocations: 8.031 kB / 488.3 MB, free: 10.99 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.5081, allocations: 42.42 kB / 488.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.5081, allocations: 19.81 kB / 488.4 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.5084, allocations: 213.2 kB / 488.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5085, allocations: 7.984 kB / 488.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.978e-05/0.5085, allocations: 11.88 kB / 488.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.5088, allocations: 88.84 kB / 488.7 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.657e-05/0.5088, allocations: 3.984 kB / 488.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.5088, allocations: 0 / 488.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.5089, allocations: 5.031 kB / 488.7 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002073/0.5091, allocations: 51.41 kB / 488.8 MB, free: 10.56 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.5098, allocations: 366.6 kB / 489.1 MB, free: 10.2 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.51, allocations: 69.77 kB / 489.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.51, allocations: 0 / 489.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002994/0.5103, allocations: 94.7 kB / 489.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.5103, allocations: 0 / 489.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004876/0.5108, allocations: 141 kB / 489.4 MB, free: 9.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.5109, allocations: 51.56 kB / 489.5 MB, free: 9.852 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.511, allocations: 131.3 kB / 489.6 MB, free: 9.727 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5111, allocations: 29.45 kB / 489.6 MB, free: 9.695 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.2e-05/0.5111, allocations: 111 kB / 489.7 MB, free: 9.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.5112, allocations: 27.36 kB / 489.8 MB, free: 9.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.5112, allocations: 7.938 kB / 489.8 MB, free: 9.562 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.5113, allocations: 322.7 kB / 490.1 MB, free: 9.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.5114, allocations: 31.3 kB / 490.1 MB, free: 9.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.5115, allocations: 84.53 kB / 490.2 MB, free: 9.117 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5117, allocations: 38.14 kB / 490.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.5117, allocations: 0 / 490.2 MB, free: 9.094 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003495/0.512, allocations: 148.5 kB / 490.4 MB, free: 8.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.5121, allocations: 7.953 kB / 490.4 MB, free: 8.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5121, allocations: 4 kB / 490.4 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.873e-05/0.5121, allocations: 7.938 kB / 490.4 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001888/0.5123, allocations: 23.92 kB / 490.4 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.5123, allocations: 4.219 kB / 490.4 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.5125, allocations: 19.83 kB / 490.4 MB, free: 8.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.5125, allocations: 8 kB / 490.5 MB, free: 8.895 MB / 330.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.0001163/0.5126, allocations: 127 kB / 490.6 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.5126, allocations: 7.906 kB / 490.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.5127, allocations: 16.59 kB / 490.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.5127, allocations: 4 kB / 490.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.5127, allocations: 0 / 490.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5127, allocations: 0 / 490.6 MB, free: 8.746 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.5129, allocations: 208.3 kB / 490.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5129, allocations: 0 / 490.8 MB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001513/0.5131, allocations: 12 kB / 490.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5131, allocations: 0 / 490.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.5131, allocations: 3.984 kB / 490.8 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.5132, allocations: 3.953 kB / 490.8 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.5132, allocations: 3.938 kB / 490.8 MB, free: 8.488 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004574/0.5136, allocations: 173.4 kB / 491 MB, free: 8.332 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.55e-05/0.5137, allocations: 96.59 kB / 491.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.34e-05/0.5138, allocations: 3.938 kB / 491.1 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.5139, allocations: 4 kB / 491.1 MB, free: 8.219 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.5139, allocations: 11.94 kB / 491.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.514, allocations: 2.5 kB / 491.1 MB, free: 8.207 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.307e-05/0.514, allocations: 113.1 kB / 491.2 MB, free: 8.109 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5141, allocations: 4 kB / 491.2 MB, free: 8.105 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003275/0.5144, allocations: 19.91 kB / 491.3 MB, free: 8.086 MB / 330.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.0006756/0.5151, allocations: 0.7166 MB / 492 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002983/0.5154, allocations: 79.28 kB / 492 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5154, allocations: 0 / 492 MB, free: 7.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.5156, allocations: 43.55 kB / 492.1 MB, free: 7.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002124/0.5158, allocations: 17.59 kB / 492.1 MB, free: 7.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.5168, allocations: 1.729 MB / 493.8 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.517, allocations: 0.7082 MB / 494.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.456e-05/0.5171, allocations: 12.56 kB / 494.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.221e-05/0.5172, allocations: 31.92 kB / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of SimCode: time 1.442e-06/0.5172, allocations: 0 / 494.6 MB, free: 4.734 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02445/0.5417, allocations: 1.97 MB / 496.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/0.542, allocations: 166.5 kB / 496.7 MB, free: 2.617 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/3.051, allocations: 0 / 496.7 MB, free: 2.617 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.RootMeanSquare_res.mat does not exist to compare? outputFormat=mat