Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 180.4 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 221.3 MB / 236 MB, free: 2.961 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001003/0.001002, allocations: 95.78 kB / 287 MB, free: 252 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2269/0.2269, allocations: 44.15 MB / 382 MB, free: 14.69 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.204e-05/4.207e-05, allocations: 224 / 451.9 MB, free: 9.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1806, allocations: 61.92 MB / 0.5018 GB, free: 11.37 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5597/0.7403, allocations: 88.52 MB / 0.5882 GB, free: 0.7539 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002196/0.7405, allocations: 63.97 kB / 0.5883 GB, free: 0.6914 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01373/0.7543, allocations: 4.594 MB / 0.5928 GB, free: 12.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.7543, allocations: 0 / 0.5928 GB, free: 12.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.7544, allocations: 4 kB / 0.5928 GB, free: 12.11 MB / 410.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.0006369/0.755, allocations: 446.2 kB / 0.5932 GB, free: 11.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.7551, allocations: 8.031 kB / 0.5932 GB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.393e-05/0.7551, allocations: 42.56 kB / 0.5933 GB, free: 11.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.749e-05/0.7552, allocations: 15.81 kB / 0.5933 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.7555, allocations: 215.3 kB / 0.5935 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.7555, allocations: 11.95 kB / 0.5935 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.7556, allocations: 4 kB / 0.5935 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.7558, allocations: 133.5 kB / 0.5936 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.7559, allocations: 7.875 kB / 0.5936 GB, free: 11.13 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.66e-05/0.7559, allocations: 8 kB / 0.5936 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.7559, allocations: 4 kB / 0.5936 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001254/0.756, allocations: 55.98 kB / 0.5937 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009077/0.757, allocations: 460.3 kB / 0.5941 GB, free: 10.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.7575, allocations: 166.6 kB / 0.5943 GB, free: 10.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.945e-05/0.7575, allocations: 28.86 kB / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.7576, allocations: 0 / 0.5943 GB, free: 10.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.7576, allocations: 42.5 kB / 0.5944 GB, free: 10.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.7576, allocations: 0 / 0.5944 GB, free: 10.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002496/0.7579, allocations: 81.75 kB / 0.5944 GB, free: 10.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.758, allocations: 110.8 kB / 0.5945 GB, free: 10.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.7581, allocations: 137.4 kB / 0.5947 GB, free: 9.953 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.7581, allocations: 29.7 kB / 0.5947 GB, free: 9.918 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.7582, allocations: 112.2 kB / 0.5948 GB, free: 9.805 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.994e-05/0.7583, allocations: 19.72 kB / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.992e-06/0.7583, allocations: 0 / 0.5948 GB, free: 9.785 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.7584, allocations: 322.8 kB / 0.5951 GB, free: 9.461 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/0.7585, allocations: 20 kB / 0.5952 GB, free: 9.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.64e-05/0.7586, allocations: 50.72 kB / 0.5952 GB, free: 9.383 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.7586, allocations: 32.52 kB / 0.5952 GB, free: 9.352 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.7587, allocations: 7.984 kB / 0.5952 GB, free: 9.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001732/0.7588, allocations: 89.5 kB / 0.5953 GB, free: 9.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.444e-05/0.7589, allocations: 97.27 kB / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.7589, allocations: 0 / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.1e-05/0.759, allocations: 4 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001849/0.7591, allocations: 39.97 kB / 0.5955 GB, free: 9.105 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.245e-05/0.7592, allocations: 7.984 kB / 0.5955 GB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.7593, allocations: 35.91 kB / 0.5955 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.7594, allocations: 7.938 kB / 0.5955 GB, free: 9.055 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.7594, allocations: 5.562 kB / 0.5955 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.378e-05/0.7595, allocations: 47.92 kB / 0.5956 GB, free: 9.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.32e-07/0.7595, allocations: 4 kB / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-06/0.7595, allocations: 0 / 0.5956 GB, free: 9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.977e-05/0.7596, allocations: 19.98 kB / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-06/0.7596, allocations: 0 / 0.5956 GB, free: 8.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.153e-05/0.7597, allocations: 23.89 kB / 0.5956 GB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.7597, allocations: 0 / 0.5956 GB, free: 8.957 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.594e-05/0.7598, allocations: 112.9 kB / 0.5957 GB, free: 8.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.883e-05/0.7598, allocations: 15.89 kB / 0.5957 GB, free: 8.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.602e-05/0.7599, allocations: 12.61 kB / 0.5957 GB, free: 8.809 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.7599, allocations: 4 kB / 0.5957 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.7599, allocations: 0 / 0.5957 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7599, allocations: 3.938 kB / 0.5957 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.7602, allocations: 229.5 kB / 0.596 GB, free: 8.527 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.7602, allocations: 4 kB / 0.596 GB, free: 8.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001702/0.7604, allocations: 39.97 kB / 0.596 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.7604, allocations: 3.984 kB / 0.596 GB, free: 8.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.7604, allocations: 4 kB / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.7604, allocations: 0 / 0.596 GB, free: 8.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.7605, allocations: 4 kB / 0.596 GB, free: 8.473 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.7608, allocations: 219.3 kB / 0.5962 GB, free: 8.242 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.7609, allocations: 92.97 kB / 0.5963 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.377e-05/0.7609, allocations: 0 / 0.5963 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.7612, allocations: 56.02 kB / 0.5964 GB, free: 8.078 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.7612, allocations: 11.92 kB / 0.5964 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.7613, allocations: 4 kB / 0.5964 GB, free: 8.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.7613, allocations: 120.1 kB / 0.5965 GB, free: 7.945 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7614, allocations: 0 / 0.5965 GB, free: 7.945 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003138/0.7617, allocations: 36 kB / 0.5965 GB, free: 7.91 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.0006298/0.7623, allocations: 0.763 MB / 0.5973 GB, free: 7.121 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.7625, allocations: 88.7 kB / 0.5974 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7625, allocations: 7.875 kB / 0.5974 GB, free: 7.027 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/0.7626, allocations: 31.94 kB / 0.5974 GB, free: 6.996 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.7629, allocations: 34.73 kB / 0.5974 GB, free: 6.965 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005453/0.7635, allocations: 202.5 kB / 0.5976 GB, free: 6.727 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.7638, allocations: 0.7051 MB / 0.5983 GB, free: 5.996 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.7639, allocations: 32.83 kB / 0.5984 GB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.527e-05/0.764, allocations: 31.42 kB / 0.5984 GB, free: 5.934 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.764, allocations: 0 / 0.5984 GB, free: 5.934 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01534/0.7794, allocations: 3.307 MB / 0.6016 GB, free: 2.746 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/0.7796, allocations: 142 kB / 0.6017 GB, free: 2.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.461, allocations: 0 / 0.6017 GB, free: 2.52 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat