Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001791/0.001791, allocations: 183.7 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.2 MB / 218.9 MB, free: 9.191 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008062/0.0008061, allocations: 83.78 kB / 267 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3932/0.3932, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.514e-05/3.545e-05, allocations: 0 / 425.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 58.85 MB / 484.2 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4551/0.5879, allocations: 90.75 MB / 0.5615 GB, free: 14.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5882, allocations: 67.12 kB / 0.5616 GB, free: 14.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04242/0.6306, allocations: 15.82 MB / 0.577 GB, free: 1.473 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6307, allocations: 0 / 0.577 GB, free: 1.473 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.102e-05/0.6308, allocations: 23.94 kB / 0.5771 GB, free: 1.449 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002109/0.6329, allocations: 1.04 MB / 0.5781 GB, free: 420 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.6329, allocations: 12.03 kB / 0.5781 GB, free: 408 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.6331, allocations: 90.58 kB / 0.5782 GB, free: 340 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002471/0.6333, allocations: 102.8 kB / 0.5783 GB, free: 236 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00131/0.6347, allocations: 0.623 MB / 0.5789 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.24e-05/0.6347, allocations: 38.06 kB / 0.5789 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.6349, allocations: 56.34 kB / 0.579 GB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009519/0.6358, allocations: 0.5721 MB / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.6358, allocations: 0 / 0.5795 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-05/0.6359, allocations: 25.81 kB / 0.5796 GB, free: 15.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.6359, allocations: 12 kB / 0.5796 GB, free: 15.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006786/0.6366, allocations: 363.8 kB / 0.5799 GB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.6402, allocations: 2.291 MB / 0.5821 GB, free: 12.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/0.6419, allocations: 0.7102 MB / 0.5828 GB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.6422, allocations: 200.5 kB / 0.583 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.08e-05/0.6423, allocations: 4 kB / 0.583 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.6423, allocations: 41.56 kB / 0.5831 GB, free: 12.13 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.933e-06/0.6423, allocations: 0 / 0.5831 GB, free: 12.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008571/0.6432, allocations: 433.3 kB / 0.5835 GB, free: 11.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001256/0.6433, allocations: 136.5 kB / 0.5836 GB, free: 11.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006874/0.644, allocations: 0.4986 MB / 0.5841 GB, free: 11.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.6441, allocations: 36.64 kB / 0.5841 GB, free: 11.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002552/0.6443, allocations: 361.7 kB / 0.5845 GB, free: 11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.6445, allocations: 166.5 kB / 0.5846 GB, free: 10.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.854e-05/0.6445, allocations: 5.688 kB / 0.5847 GB, free: 10.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6447, allocations: 334.2 kB / 0.585 GB, free: 10.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.645, allocations: 149.4 kB / 0.5851 GB, free: 10.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.6453, allocations: 261.8 kB / 0.5854 GB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.6456, allocations: 171.6 kB / 0.5855 GB, free: 10.13 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6457, allocations: 0 / 0.5855 GB, free: 10.13 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008478/0.6465, allocations: 0.516 MB / 0.586 GB, free: 9.742 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004231/0.6469, allocations: 0.8815 MB / 0.5869 GB, free: 8.805 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.647, allocations: 4 kB / 0.5869 GB, free: 8.801 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.472e-05/0.647, allocations: 8 kB / 0.5869 GB, free: 8.793 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009829/0.648, allocations: 202.8 kB / 0.5871 GB, free: 8.598 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.739e-05/0.648, allocations: 8 kB / 0.5871 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000617/0.6486, allocations: 118.5 kB / 0.5872 GB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.863e-05/0.6487, allocations: 23.67 kB / 0.5872 GB, free: 8.465 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.6487, allocations: 8 kB / 0.5872 GB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006676/0.6494, allocations: 399.6 kB / 0.5876 GB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.6494, allocations: 3.984 kB / 0.5876 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.6494, allocations: 4 kB / 0.5876 GB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007937/0.6502, allocations: 171.8 kB / 0.5878 GB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/0.6503, allocations: 7.953 kB / 0.5878 GB, free: 8.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005225/0.6508, allocations: 100 kB / 0.5879 GB, free: 7.926 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.041e-05/0.6508, allocations: 18.75 kB / 0.5879 GB, free: 7.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001775/0.651, allocations: 128.8 kB / 0.588 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.6512, allocations: 79.06 kB / 0.5881 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.6514, allocations: 83.17 kB / 0.5882 GB, free: 7.668 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.6514, allocations: 4 kB / 0.5882 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6514, allocations: 0 / 0.5882 GB, free: 7.664 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.6514, allocations: 7.953 kB / 0.5882 GB, free: 7.656 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001799/0.6532, allocations: 1.165 MB / 0.5893 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/0.6533, allocations: 0 / 0.5893 GB, free: 6.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007252/0.654, allocations: 163.3 kB / 0.5895 GB, free: 6.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.288e-06/0.654, allocations: 3.953 kB / 0.5895 GB, free: 6.594 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.703e-05/0.6541, allocations: 14.48 kB / 0.5895 GB, free: 6.586 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.082e-06/0.6541, allocations: 4.844 kB / 0.5895 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6541, allocations: 0 / 0.5895 GB, free: 6.582 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.6552, allocations: 0.8531 MB / 0.5904 GB, free: 5.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000242/0.6555, allocations: 196 kB / 0.5905 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.6556, allocations: 7.875 kB / 0.5906 GB, free: 5.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005817/0.6562, allocations: 91.86 kB / 0.5906 GB, free: 5.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.6563, allocations: 43.67 kB / 0.5907 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.6564, allocations: 15.81 kB / 0.5907 GB, free: 5.617 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004769/0.6568, allocations: 399.5 kB / 0.5911 GB, free: 5.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6568, allocations: 5.5 kB / 0.5911 GB, free: 5.316 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007318/0.6576, allocations: 223.8 kB / 0.5913 GB, free: 5.117 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.001522/0.6591, allocations: 1.475 MB / 0.5927 GB, free: 3.852 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.6603, allocations: 0.6596 MB / 0.5934 GB, free: 3.402 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6603, allocations: 4 kB / 0.5934 GB, free: 3.398 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000335/0.6606, allocations: 213 kB / 0.5936 GB, free: 3.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.6616, allocations: 178.4 kB / 0.5938 GB, free: 3.121 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003345/0.6649, allocations: 1.256 MB / 0.595 GB, free: 1.953 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.6655, allocations: 0.9431 MB / 0.5959 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007195/0.6662, allocations: 139.2 kB / 0.596 GB, free: 0.8398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003855/0.6666, allocations: 276.2 kB / 0.5963 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of SimCode: time 7.41e-07/0.6666, allocations: 0 / 0.5963 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03672/0.7034, allocations: 14.77 MB / 0.6107 GB, free: 2.074 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.7037, allocations: 139.2 kB / 0.6109 GB, free: 1.852 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.302, allocations: 0 / 0.6109 GB, free: 1.852 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat