Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001062/0.001062, allocations: 197.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.4 MB / 240.1 MB, free: 15.08 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009194/0.0009194, allocations: 93.95 kB / 292.1 MB, free: 5.953 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.182/0.182, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.519e-05, allocations: 0 / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1291, allocations: 63.25 MB / 0.5114 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3444/0.4735, allocations: 89.57 MB / 0.5989 GB, free: 4.238 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.4738, allocations: 62.09 kB / 0.599 GB, free: 4.207 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01355/0.4873, allocations: 4.706 MB / 0.6036 GB, free: 216 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.4874, allocations: 4 kB / 0.6036 GB, free: 212 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.4874, allocations: 0 / 0.6036 GB, free: 212 kB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006646/0.4881, allocations: 441.9 kB / 0.604 GB, free: 15.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4881, allocations: 19.91 kB / 0.604 GB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.472e-05/0.4882, allocations: 37 kB / 0.6041 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.4883, allocations: 27.75 kB / 0.6041 GB, free: 15.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.4886, allocations: 229.6 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4887, allocations: 7.062 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.4887, allocations: 4 kB / 0.6043 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.4889, allocations: 132.2 kB / 0.6044 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4889, allocations: 3.906 kB / 0.6044 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.489, allocations: 3.812 kB / 0.6044 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.489, allocations: 4 kB / 0.6044 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001106/0.4891, allocations: 59.17 kB / 0.6045 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007945/0.4899, allocations: 467.6 kB / 0.605 GB, free: 14.77 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.4904, allocations: 164.3 kB / 0.6051 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.228e-05/0.4904, allocations: 30.67 kB / 0.6051 GB, free: 14.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.4904, allocations: 4 kB / 0.6051 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.4905, allocations: 30.56 kB / 0.6052 GB, free: 14.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.4905, allocations: 0 / 0.6052 GB, free: 14.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.000216/0.4907, allocations: 87.86 kB / 0.6053 GB, free: 14.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.445e-05/0.4908, allocations: 105.9 kB / 0.6054 GB, free: 14.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.4909, allocations: 142.6 kB / 0.6055 GB, free: 14.21 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.039e-05/0.4909, allocations: 29.27 kB / 0.6055 GB, free: 14.18 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.491, allocations: 112.9 kB / 0.6056 GB, free: 14.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.926e-05/0.491, allocations: 22.59 kB / 0.6056 GB, free: 14.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.491, allocations: 3.188 kB / 0.6057 GB, free: 14.06 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.4912, allocations: 318.3 kB / 0.606 GB, free: 13.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.285e-05/0.4912, allocations: 26.25 kB / 0.606 GB, free: 13.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.006e-05/0.4913, allocations: 49.33 kB / 0.606 GB, free: 13.68 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.769e-05/0.4914, allocations: 19.17 kB / 0.606 GB, free: 13.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4914, allocations: 7.969 kB / 0.6061 GB, free: 13.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001575/0.4915, allocations: 109.9 kB / 0.6062 GB, free: 13.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.962e-05/0.4916, allocations: 97.5 kB / 0.6063 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.4916, allocations: 0 / 0.6063 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.4916, allocations: 0 / 0.6063 GB, free: 13.47 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.4918, allocations: 43.97 kB / 0.6063 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.4918, allocations: 0 / 0.6063 GB, free: 13.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.492, allocations: 35.03 kB / 0.6063 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.492, allocations: 4 kB / 0.6063 GB, free: 13.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.983e-06/0.492, allocations: 4 kB / 0.6063 GB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.513e-05/0.4921, allocations: 48.23 kB / 0.6064 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.4921, allocations: 0 / 0.6064 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-06/0.4921, allocations: 0 / 0.6064 GB, free: 13.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.78e-05/0.4922, allocations: 23.94 kB / 0.6064 GB, free: 13.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-06/0.4922, allocations: 4 kB / 0.6064 GB, free: 13.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.4923, allocations: 27.27 kB / 0.6064 GB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.4923, allocations: 4 kB / 0.6064 GB, free: 13.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.561e-05/0.4924, allocations: 113.7 kB / 0.6065 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.4925, allocations: 7.906 kB / 0.6066 GB, free: 13.18 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.948e-05/0.4925, allocations: 15.98 kB / 0.6066 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4925, allocations: 0 / 0.6066 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4925, allocations: 3.953 kB / 0.6066 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4926, allocations: 0 / 0.6066 GB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002137/0.4928, allocations: 227.9 kB / 0.6068 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4928, allocations: 0 / 0.6068 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.493, allocations: 43.91 kB / 0.6068 GB, free: 12.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.493, allocations: 4 kB / 0.6068 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/0.493, allocations: 3.984 kB / 0.6068 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.493, allocations: 0 / 0.6068 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.493, allocations: 0 / 0.6068 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002536/0.4933, allocations: 223.4 kB / 0.6071 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.831e-05/0.4933, allocations: 91.78 kB / 0.6071 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4933, allocations: 3.984 kB / 0.6071 GB, free: 12.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/0.4936, allocations: 52.02 kB / 0.6072 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.4937, allocations: 7.812 kB / 0.6072 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.4937, allocations: 3.984 kB / 0.6072 GB, free: 12.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.456e-05/0.4938, allocations: 124.6 kB / 0.6073 GB, free: 12.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4938, allocations: 0 / 0.6073 GB, free: 12.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002811/0.4941, allocations: 43.31 kB / 0.6074 GB, free: 12.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005272/0.4946, allocations: 0.7583 MB / 0.6081 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001906/0.4948, allocations: 93.73 kB / 0.6082 GB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4948, allocations: 3.938 kB / 0.6082 GB, free: 11.52 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.4949, allocations: 27.47 kB / 0.6082 GB, free: 11.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.4951, allocations: 31.3 kB / 0.6083 GB, free: 11.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.4956, allocations: 211.1 kB / 0.6085 GB, free: 11.26 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002634/0.4959, allocations: 0.709 MB / 0.6091 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.496, allocations: 20.98 kB / 0.6092 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.543e-05/0.4961, allocations: 37.17 kB / 0.6092 GB, free: 10.48 MB / 410.7 MB Notification: Performance of SimCode: time 4.4e-07/0.4961, allocations: 0 / 0.6092 GB, free: 10.48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.5102, allocations: 3.296 MB / 0.6124 GB, free: 7.305 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001986/0.5104, allocations: 140.2 kB / 0.6126 GB, free: 7.078 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/1.98, allocations: 8 kB / 0.6126 GB, free: 7.07 MB / 410.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat