Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.00233/0.002329, allocations: 182 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.136/2.136, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001155/0.001155, allocations: 86.66 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2873/0.2873, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.287e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 58.86 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5709/0.6919, allocations: 90.76 MB / 0.5615 GB, free: 12.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003174/0.6923, allocations: 68.94 kB / 0.5616 GB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09201/0.7843, allocations: 15.81 MB / 0.577 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.14e-06/0.7844, allocations: 3.984 kB / 0.577 GB, free: 15.37 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000101/0.7845, allocations: 27.92 kB / 0.577 GB, free: 15.34 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.003497/0.788, allocations: 1.044 MB / 0.5781 GB, free: 14.3 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/0.7881, allocations: 8.031 kB / 0.5781 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002264/0.7883, allocations: 95.45 kB / 0.5782 GB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003305/0.7886, allocations: 98.78 kB / 0.5783 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.7907, allocations: 0.6194 MB / 0.5789 GB, free: 13.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.7908, allocations: 45.38 kB / 0.5789 GB, free: 13.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000156/0.791, allocations: 52.97 kB / 0.579 GB, free: 13.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.7924, allocations: 0.5779 MB / 0.5795 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.768e-05/0.7925, allocations: 3.938 kB / 0.5795 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.7926, allocations: 20.12 kB / 0.5795 GB, free: 13.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.837e-05/0.7926, allocations: 16 kB / 0.5796 GB, free: 13 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00105/0.7937, allocations: 363.6 kB / 0.5799 GB, free: 12.77 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005472/0.7992, allocations: 2.28 MB / 0.5821 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.8019, allocations: 0.7059 MB / 0.5828 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005855/0.8025, allocations: 193.8 kB / 0.583 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.967e-05/0.8026, allocations: 15.61 kB / 0.583 GB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.8027, allocations: 38.06 kB / 0.5831 GB, free: 10.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/0.8027, allocations: 4 kB / 0.5831 GB, free: 10.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.001372/0.8041, allocations: 437.7 kB / 0.5835 GB, free: 9.691 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.725e-05/0.8042, allocations: 135.6 kB / 0.5836 GB, free: 9.531 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009544/0.8052, allocations: 0.4988 MB / 0.5841 GB, free: 9.129 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.464e-05/0.8053, allocations: 33.39 kB / 0.5841 GB, free: 9.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000298/0.8056, allocations: 374.2 kB / 0.5845 GB, free: 8.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002058/0.8058, allocations: 161.1 kB / 0.5846 GB, free: 8.715 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.8059, allocations: 7.312 kB / 0.5846 GB, free: 8.715 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.806, allocations: 342 kB / 0.585 GB, free: 8.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005041/0.8066, allocations: 152.1 kB / 0.5851 GB, free: 8.297 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005946/0.8072, allocations: 256.8 kB / 0.5854 GB, free: 8.078 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.8077, allocations: 169.9 kB / 0.5855 GB, free: 7.98 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.8077, allocations: 0 / 0.5855 GB, free: 7.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001322/0.809, allocations: 480.4 kB / 0.586 GB, free: 7.637 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.8095, allocations: 0.8798 MB / 0.5868 GB, free: 6.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.8095, allocations: 4 kB / 0.5868 GB, free: 6.703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.8096, allocations: 4 kB / 0.5868 GB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/0.8116, allocations: 203.6 kB / 0.587 GB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.244e-05/0.8116, allocations: 4 kB / 0.587 GB, free: 6.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.8129, allocations: 119.4 kB / 0.5872 GB, free: 6.391 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.813, allocations: 23.86 kB / 0.5872 GB, free: 6.371 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.813, allocations: 3.281 kB / 0.5872 GB, free: 6.371 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/0.8142, allocations: 410.2 kB / 0.5876 GB, free: 6.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.8142, allocations: 4.25 kB / 0.5876 GB, free: 6.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.8143, allocations: 8 kB / 0.5876 GB, free: 6.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00161/0.8159, allocations: 171.2 kB / 0.5878 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.8159, allocations: 11.89 kB / 0.5878 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.8166, allocations: 98.98 kB / 0.5879 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.976e-05/0.8167, allocations: 19.48 kB / 0.5879 GB, free: 5.809 MB / 394.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.0002581/0.817, allocations: 129.7 kB / 0.588 GB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002938/0.8173, allocations: 71.16 kB / 0.5881 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.8176, allocations: 77.23 kB / 0.5881 GB, free: 5.578 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.8176, allocations: 12 kB / 0.5882 GB, free: 5.566 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.8176, allocations: 3.938 kB / 0.5882 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/0.8176, allocations: 8.078 kB / 0.5882 GB, free: 5.555 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.8205, allocations: 1.169 MB / 0.5893 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/0.8206, allocations: 4 kB / 0.5893 GB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001517/0.8221, allocations: 155.2 kB / 0.5895 GB, free: 4.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.891e-05/0.8222, allocations: 7.953 kB / 0.5895 GB, free: 4.488 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.8223, allocations: 14.55 kB / 0.5895 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.8223, allocations: 3.938 kB / 0.5895 GB, free: 4.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.8223, allocations: 4 kB / 0.5895 GB, free: 4.473 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002021/0.8244, allocations: 0.8458 MB / 0.5903 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.8249, allocations: 193.4 kB / 0.5905 GB, free: 3.645 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.8251, allocations: 10.25 kB / 0.5905 GB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/0.8263, allocations: 98.97 kB / 0.5906 GB, free: 3.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001877/0.8265, allocations: 42.81 kB / 0.5906 GB, free: 3.516 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.8266, allocations: 15.42 kB / 0.5907 GB, free: 3.504 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007769/0.8274, allocations: 395.1 kB / 0.591 GB, free: 3.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.8274, allocations: 0 / 0.591 GB, free: 3.211 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001204/0.8286, allocations: 227.5 kB / 0.5913 GB, free: 3.008 MB / 394.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.002614/0.8312, allocations: 1.474 MB / 0.5927 GB, free: 1.742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.8332, allocations: 0.6284 MB / 0.5933 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.8333, allocations: 1 kB / 0.5933 GB, free: 1.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006288/0.8339, allocations: 209.5 kB / 0.5935 GB, free: 1.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.8356, allocations: 168.6 kB / 0.5937 GB, free: 1.047 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005535/0.8412, allocations: 1.3 MB / 0.5949 GB, free: 15.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006962/0.842, allocations: 0.9418 MB / 0.5959 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/0.8428, allocations: 282.3 kB / 0.5961 GB, free: 14.77 MB / 410.7 MB Notification: Performance of SimCode: time 1.854e-06/0.8428, allocations: 0 / 0.5961 GB, free: 14.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.827/3.67, allocations: 11.42 MB / 0.6073 GB, free: 3.551 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat