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.001504/0.001504, allocations: 176.5 kB / 17.06 MB, free: 5.098 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.304/1.304, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008607/0.0008605, allocations: 95.09 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3178/0.3178, allocations: 44.22 MB / 387.5 MB, free: 38.81 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003355/0.0003357, allocations: 12 kB / 460 MB, free: 1.445 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.312, allocations: 61.9 MB / 0.5096 GB, free: 38.12 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1068/0.4188, allocations: 88.59 MB / 0.5961 GB, free: 6.516 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002286/0.4191, allocations: 63.94 kB / 0.5962 GB, free: 6.457 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01302/0.4321, allocations: 4.607 MB / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4322, allocations: 0 / 0.6007 GB, free: 1.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.66e-05/0.4322, allocations: 4 kB / 0.6007 GB, free: 1.84 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.0005777/0.4328, allocations: 470.6 kB / 0.6012 GB, free: 1.332 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.4328, allocations: 8.031 kB / 0.6012 GB, free: 1.324 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.218e-05/0.4329, allocations: 42.56 kB / 0.6012 GB, free: 1.273 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.559e-05/0.4329, allocations: 19.89 kB / 0.6012 GB, free: 1.254 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.4332, allocations: 211.3 kB / 0.6014 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.4332, allocations: 11.95 kB / 0.6014 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.4332, allocations: 4 kB / 0.6014 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003992/0.4336, allocations: 196.1 kB / 0.6016 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4336, allocations: 0 / 0.6016 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.4337, allocations: 7.984 kB / 0.6016 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.4337, allocations: 0 / 0.6016 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003826/0.4341, allocations: 151.9 kB / 0.6018 GB, free: 0.625 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008288/0.4349, allocations: 480.2 kB / 0.6022 GB, free: 108 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/0.4357, allocations: 318.4 kB / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4358, allocations: 0 / 0.6025 GB, free: 15.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.4358, allocations: 38.55 kB / 0.6026 GB, free: 15.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 9.52e-07/0.4358, allocations: 0 / 0.6026 GB, free: 15.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007041/0.4365, allocations: 289.4 kB / 0.6029 GB, free: 15.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.4366, allocations: 106.8 kB / 0.603 GB, free: 15.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.4367, allocations: 139.4 kB / 0.6031 GB, free: 15.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.4367, allocations: 25.7 kB / 0.6031 GB, free: 15.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.4368, allocations: 116.2 kB / 0.6032 GB, free: 15.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.777e-05/0.4368, allocations: 27.78 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.4368, allocations: 4 kB / 0.6033 GB, free: 15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.4369, allocations: 318.8 kB / 0.6036 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.4371, allocations: 83.94 kB / 0.6036 GB, free: 14.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.4374, allocations: 110.5 kB / 0.6037 GB, free: 14.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/0.4376, allocations: 75.98 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-06/0.4376, allocations: 0 / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000448/0.438, allocations: 209.5 kB / 0.604 GB, free: 14.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.189e-05/0.4381, allocations: 94.72 kB / 0.6041 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.4381, allocations: 7.953 kB / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.4381, allocations: 0 / 0.6041 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.4383, allocations: 43.91 kB / 0.6042 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.4383, allocations: 4 kB / 0.6042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.4385, allocations: 39.86 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.4385, allocations: 0 / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.4385, allocations: 4 kB / 0.6042 GB, free: 14 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001974/0.4387, allocations: 87.94 kB / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-06/0.4387, allocations: 0 / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-06/0.4387, allocations: 0 / 0.6043 GB, free: 13.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.588e-05/0.4388, allocations: 23.98 kB / 0.6043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-06/0.4388, allocations: 16.5 kB / 0.6043 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.854e-05/0.4389, allocations: 15.92 kB / 0.6043 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.4389, allocations: 4 kB / 0.6043 GB, free: 13.86 MB / 426.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 () * Number of clocked 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 0.0001105/0.439, allocations: 197.6 kB / 0.6045 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/0.4391, allocations: 11.91 kB / 0.6045 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.4391, allocations: 16.72 kB / 0.6046 GB, free: 13.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4391, allocations: 4 kB / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4391, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.4392, allocations: 0 / 0.6046 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.4394, allocations: 229.4 kB / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4394, allocations: 0 / 0.6048 GB, free: 13.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001609/0.4396, allocations: 39.95 kB / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4396, allocations: 0 / 0.6048 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.4396, allocations: 8 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4396, allocations: 4 kB / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.4396, allocations: 0 / 0.6048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006946/0.4403, allocations: 403.1 kB / 0.6052 GB, free: 12.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.44e-05/0.4404, allocations: 92.97 kB / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4404, allocations: 0 / 0.6053 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.4407, allocations: 56.02 kB / 0.6054 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.4407, allocations: 4 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.4407, allocations: 3.984 kB / 0.6054 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.966e-05/0.4408, allocations: 121 kB / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4408, allocations: 0 / 0.6055 GB, free: 12.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003/0.4411, allocations: 39.84 kB / 0.6055 GB, free: 12.56 MB / 426.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 () * Number of clocked 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.0009507/0.4421, allocations: 0.9231 MB / 0.6064 GB, free: 11.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005713/0.4427, allocations: 215.9 kB / 0.6066 GB, free: 11.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4427, allocations: 8 kB / 0.6066 GB, free: 11.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002066/0.4429, allocations: 87.92 kB / 0.6067 GB, free: 11.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.4432, allocations: 32.88 kB / 0.6068 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001702/0.4449, allocations: 0.9565 MB / 0.6077 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002203/0.4451, allocations: 0.7123 MB / 0.6084 GB, free: 9.527 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.352e-05/0.4452, allocations: 16.55 kB / 0.6084 GB, free: 9.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.62e-05/0.4453, allocations: 39.41 kB / 0.6084 GB, free: 9.473 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4453, allocations: 0 / 0.6084 GB, free: 9.473 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01366/0.459, allocations: 3.171 MB / 0.6115 GB, free: 6.434 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001544/0.4592, allocations: 162.6 kB / 0.6117 GB, free: 6.191 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.046, allocations: 0 / 0.6117 GB, free: 6.191 MB / 426.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