Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_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.001119/0.001119, allocations: 182.8 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.611/1.611, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009025/0.0009023, allocations: 93.5 kB / 267.1 MB, free: 9.281 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.3811/0.3811, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.188e-05, allocations: 4 kB / 425.4 MB, free: 8.102 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1344, allocations: 58.85 MB / 484.3 MB, free: 13.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4204/0.5548, allocations: 89.05 MB / 0.5599 GB, free: 14.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.5551, allocations: 65.83 kB / 0.5599 GB, free: 14.94 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03678/0.5919, allocations: 15.58 MB / 0.5751 GB, free: 3.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5919, allocations: 0 / 0.5751 GB, free: 3.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.13e-05/0.592, allocations: 27.94 kB / 0.5752 GB, free: 3.121 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001404/0.5934, allocations: 1.058 MB / 0.5762 GB, free: 2.078 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5934, allocations: 8.031 kB / 0.5762 GB, free: 2.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001046/0.5935, allocations: 105.6 kB / 0.5763 GB, free: 1.996 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.5937, allocations: 114.6 kB / 0.5764 GB, free: 1.883 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008892/0.5946, allocations: 0.6464 MB / 0.5771 GB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.5946, allocations: 47.25 kB / 0.5771 GB, free: 1.273 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.375e-05/0.5947, allocations: 66.38 kB / 0.5772 GB, free: 1.23 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009417/0.5957, allocations: 0.6745 MB / 0.5778 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.656e-05/0.5957, allocations: 0 / 0.5778 GB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/0.5958, allocations: 30.69 kB / 0.5779 GB, free: 0.6953 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5958, allocations: 20 kB / 0.5779 GB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006388/0.5964, allocations: 443 kB / 0.5783 GB, free: 416 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003393/0.5998, allocations: 2.776 MB / 0.581 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009745/0.6008, allocations: 0.5545 MB / 0.5815 GB, free: 13.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.6012, allocations: 230.8 kB / 0.5818 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.23e-05/0.6012, allocations: 12 kB / 0.5818 GB, free: 13.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.6013, allocations: 46.25 kB / 0.5818 GB, free: 13.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.255e-06/0.6013, allocations: 4 kB / 0.5818 GB, free: 13.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008908/0.6022, allocations: 490.8 kB / 0.5823 GB, free: 13.01 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001143/0.6023, allocations: 239.3 kB / 0.5825 GB, free: 12.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000681/0.603, allocations: 0.6091 MB / 0.5831 GB, free: 12.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.603, allocations: 39.08 kB / 0.5832 GB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002862/0.6033, allocations: 438.6 kB / 0.5836 GB, free: 11.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.6035, allocations: 187.5 kB / 0.5838 GB, free: 11.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.899e-05/0.6035, allocations: 15.27 kB / 0.5838 GB, free: 11.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6037, allocations: 332.6 kB / 0.5841 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.6039, allocations: 163.8 kB / 0.5842 GB, free: 11.38 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.6043, allocations: 297.5 kB / 0.5845 GB, free: 11.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003026/0.6046, allocations: 189.7 kB / 0.5847 GB, free: 11.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6046, allocations: 4 kB / 0.5847 GB, free: 11.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001936/0.6066, allocations: 0.8965 MB / 0.5856 GB, free: 10.29 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000439/0.607, allocations: 1.135 MB / 0.5867 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.6071, allocations: 8 kB / 0.5867 GB, free: 9.078 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008854/0.6079, allocations: 258.2 kB / 0.5869 GB, free: 8.871 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005295/0.6085, allocations: 130.3 kB / 0.5871 GB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/0.612, allocations: 3.573 MB / 0.5906 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.6126, allocations: 97.7 kB / 0.5907 GB, free: 5.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.6126, allocations: 21.75 kB / 0.5907 GB, free: 5.129 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6126, allocations: 4 kB / 0.5907 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001069/0.6137, allocations: 0.57 MB / 0.5912 GB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6137, allocations: 8.266 kB / 0.5912 GB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004226/0.6142, allocations: 129.8 kB / 0.5914 GB, free: 4.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.6149, allocations: 175 kB / 0.5915 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.6177, allocations: 3.13 MB / 0.5946 GB, free: 1.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005218/0.6182, allocations: 74.38 kB / 0.5947 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.6183, allocations: 19.75 kB / 0.5947 GB, free: 1.258 MB / 410.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 () * 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.0001849/0.6185, allocations: 148.6 kB / 0.5948 GB, free: 1.125 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.6187, allocations: 94.88 kB / 0.5949 GB, free: 1.031 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.6189, allocations: 96.52 kB / 0.595 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6189, allocations: 8 kB / 0.595 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6189, allocations: 0 / 0.595 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.619, allocations: 3.984 kB / 0.595 GB, free: 0.9688 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009631/0.6199, allocations: 0.7478 MB / 0.5957 GB, free: 376 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.6199, allocations: 4 kB / 0.5957 GB, free: 372 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005556/0.6205, allocations: 115.4 kB / 0.5959 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.6205, allocations: 4 kB / 0.5959 GB, free: 256 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.6206, allocations: 17.42 kB / 0.5959 GB, free: 248 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6206, allocations: 7.938 kB / 0.5959 GB, free: 240 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6206, allocations: 5.312 kB / 0.5959 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.6217, allocations: 1.075 MB / 0.5969 GB, free: 15.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002385/0.622, allocations: 221.4 kB / 0.5972 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.95e-05/0.6221, allocations: 11.06 kB / 0.5972 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004886/0.6226, allocations: 58.84 kB / 0.5972 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/0.6227, allocations: 44.48 kB / 0.5973 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-05/0.6227, allocations: 11.94 kB / 0.5973 GB, free: 15.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005158/0.6232, allocations: 484.1 kB / 0.5977 GB, free: 14.71 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6233, allocations: 0 / 0.5977 GB, free: 14.71 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008621/0.6241, allocations: 272.8 kB / 0.598 GB, free: 14.47 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 () * 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.001523/0.6257, allocations: 1.85 MB / 0.5998 GB, free: 12.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003526/0.6292, allocations: 1.504 MB / 0.6013 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.6292, allocations: 0 / 0.6013 GB, free: 11.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003486/0.6296, allocations: 231.1 kB / 0.6015 GB, free: 11.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.6308, allocations: 208.1 kB / 0.6017 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.6332, allocations: 1.278 MB / 0.6029 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005038/0.6338, allocations: 1.006 MB / 0.6039 GB, free: 9.027 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005986/0.6344, allocations: 152.2 kB / 0.6041 GB, free: 8.879 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.6347, allocations: 321.4 kB / 0.6044 GB, free: 8.816 MB / 426.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6347, allocations: 0 / 0.6044 GB, free: 8.816 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04239/0.6771, allocations: 19.6 MB / 0.6235 GB, free: 5.273 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6774, allocations: 160.8 kB / 0.6237 GB, free: 5.051 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.776/3.453, allocations: 0 / 0.6237 GB, free: 5.051 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat