Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.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.LimPID,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimPID",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.001525/0.001525, allocations: 185.8 kB / 16.4 MB, free: 5.75 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.048/2.048, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001174/0.001173, allocations: 101.4 kB / 270.9 MB, free: 8.371 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.5316/0.5316, allocations: 43.54 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006508/0.0006509, allocations: 19.98 kB / 431.5 MB, free: 6.07 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1336, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4751/0.6088, allocations: 89.14 MB / 0.5659 GB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.6091, allocations: 71.97 kB / 0.5659 GB, free: 13.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07092/0.68, allocations: 15.64 MB / 0.5812 GB, free: 13.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6801, allocations: 0 / 0.5812 GB, free: 13.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.6802, allocations: 20 kB / 0.5812 GB, free: 13.7 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.003571/0.6838, allocations: 1.199 MB / 0.5824 GB, free: 12.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.442e-05/0.6839, allocations: 16.03 kB / 0.5824 GB, free: 12.44 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003595/0.6843, allocations: 110.4 kB / 0.5825 GB, free: 12.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003455/0.6846, allocations: 114.6 kB / 0.5826 GB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.6866, allocations: 0.6443 MB / 0.5833 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.16e-05/0.6868, allocations: 47 kB / 0.5833 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002367/0.687, allocations: 68 kB / 0.5834 GB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002432/0.6894, allocations: 0.7607 MB / 0.5841 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.6895, allocations: 0 / 0.5841 GB, free: 10.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.6897, allocations: 31.98 kB / 0.5841 GB, free: 10.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.6897, allocations: 16 kB / 0.5842 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.6922, allocations: 0.5903 MB / 0.5847 GB, free: 9.961 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006589/0.6988, allocations: 2.776 MB / 0.5874 GB, free: 7.086 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002988/0.7018, allocations: 0.7334 MB / 0.5882 GB, free: 6.316 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/0.702, allocations: 12.08 kB / 0.5882 GB, free: 6.305 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.7021, allocations: 51.5 kB / 0.5882 GB, free: 6.246 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 3.116e-06/0.7021, allocations: 0 / 0.5882 GB, free: 6.246 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.003768/0.7059, allocations: 0.862 MB / 0.5891 GB, free: 5.379 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001603/0.7061, allocations: 243.3 kB / 0.5893 GB, free: 5.086 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001385/0.7075, allocations: 0.6219 MB / 0.5899 GB, free: 4.457 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.7077, allocations: 37.7 kB / 0.5899 GB, free: 4.414 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/0.7082, allocations: 427 kB / 0.5903 GB, free: 3.992 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.7085, allocations: 189.2 kB / 0.5905 GB, free: 3.805 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/0.7085, allocations: 12 kB / 0.5905 GB, free: 3.793 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001644/0.7087, allocations: 334.8 kB / 0.5909 GB, free: 3.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001047/0.7098, allocations: 245 kB / 0.5911 GB, free: 3.219 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.711, allocations: 384 kB / 0.5915 GB, free: 2.797 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001121/0.7122, allocations: 273.7 kB / 0.5917 GB, free: 2.531 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.072e-06/0.7122, allocations: 0 / 0.5917 GB, free: 2.531 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004815/0.717, allocations: 1.035 MB / 0.5927 GB, free: 1.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005455/0.7176, allocations: 1.136 MB / 0.5938 GB, free: 264 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/0.7176, allocations: 8 kB / 0.5938 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002383/0.72, allocations: 371.1 kB / 0.5942 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.7212, allocations: 127.9 kB / 0.5943 GB, free: 15.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007634/0.7289, allocations: 3.859 MB / 0.5981 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001037/0.73, allocations: 91.56 kB / 0.5982 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.705e-05/0.7301, allocations: 16 kB / 0.5982 GB, free: 11.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.7301, allocations: 5.562 kB / 0.5982 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00272/0.7328, allocations: 0.67 MB / 0.5989 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/0.7329, allocations: 3.984 kB / 0.5989 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008336/0.7338, allocations: 153.8 kB / 0.599 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7353, allocations: 175.8 kB / 0.5992 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005791/0.7411, allocations: 3.299 MB / 0.6024 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006852/0.7419, allocations: 71.62 kB / 0.6025 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.742, allocations: 20 kB / 0.6025 GB, free: 6.906 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006625/0.7426, allocations: 285 kB / 0.6028 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003688/0.743, allocations: 94.81 kB / 0.6028 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.7433, allocations: 95.39 kB / 0.6029 GB, free: 6.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.7433, allocations: 11.94 kB / 0.6029 GB, free: 6.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.7434, allocations: 3.953 kB / 0.603 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.7434, allocations: 3.984 kB / 0.603 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001651/0.745, allocations: 0.7467 MB / 0.6037 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.7451, allocations: 0 / 0.6037 GB, free: 5.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.7463, allocations: 120 kB / 0.6038 GB, free: 5.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.016e-05/0.7464, allocations: 4 kB / 0.6038 GB, free: 5.492 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.728e-05/0.7464, allocations: 11.98 kB / 0.6038 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.218e-06/0.7465, allocations: 8 kB / 0.6038 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.7465, allocations: 0 / 0.6038 GB, free: 5.473 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/0.7502, allocations: 1.325 MB / 0.6051 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005263/0.7508, allocations: 215.7 kB / 0.6053 GB, free: 3.879 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/0.751, allocations: 12 kB / 0.6053 GB, free: 3.867 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009159/0.7519, allocations: 55.97 kB / 0.6054 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.7521, allocations: 31.95 kB / 0.6054 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.7522, allocations: 15.98 kB / 0.6054 GB, free: 3.766 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.7532, allocations: 491 kB / 0.6059 GB, free: 3.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.7533, allocations: 4 kB / 0.6059 GB, free: 3.289 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001603/0.7549, allocations: 271.1 kB / 0.6062 GB, free: 3.023 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.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 (52): * Single equations (assignments): 52 * 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.004527/0.7595, allocations: 2.092 MB / 0.6082 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.7665, allocations: 1.593 MB / 0.6098 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.7666, allocations: 0 / 0.6098 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001252/0.7679, allocations: 303.7 kB / 0.6101 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.7699, allocations: 207.5 kB / 0.6102 GB, free: 14.77 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01752/0.7875, allocations: 7.203 MB / 0.6173 GB, free: 7.293 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008092/0.7883, allocations: 1.004 MB / 0.6183 GB, free: 6.262 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008466/0.7892, allocations: 335.3 kB / 0.6186 GB, free: 5.934 MB / 442.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7892, allocations: 0 / 0.6186 GB, free: 5.934 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.935/3.725, allocations: 19.99 MB / 0.6381 GB, free: 1.969 MB / 458.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat