Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008167/0.0008167, allocations: 99.55 kB / 17 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008237/0.0008237, allocations: 192.7 kB / 17.91 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2258/0.2258, allocations: 45.91 MB / 344.1 MB, free: 12.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002737/0.0002737, allocations: 15.92 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.14, allocations: 63.46 MB / 481.6 MB, free: 5.246 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004067/0.1441, allocations: 3.674 MB / 485.3 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003025/0.1472, allocations: 1.512 MB / 486.8 MB, free: 32 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005494/0.1478, allocations: 31.88 kB / 486.9 MB, free: 0 / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.1481, allocations: 103 kB / 487 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000307/0.1485, allocations: 122.8 kB / 487.1 MB, free: 15.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.1495, allocations: 442.1 kB / 487.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008727/0.1504, allocations: 0.8867 MB / 488.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004264/0.1508, allocations: 306.5 kB / 488.7 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000265/0.1511, allocations: 250.5 kB / 488.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003385/0.1514, allocations: 282 kB / 489.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.1515, allocations: 20 kB / 489.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.636e-05/0.1516, allocations: 24 kB / 489.3 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1517, allocations: 119.3 kB / 489.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.1518, allocations: 169.1 kB / 489.5 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.1524, allocations: 0.7017 MB / 490.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1524, allocations: 4 kB / 490.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1524, allocations: 0 / 490.2 MB, free: 12.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.1525, allocations: 0 / 490.2 MB, free: 12.59 MB / 366.1 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.001717/0.1542, allocations: 1.148 MB / 491.4 MB, free: 11.39 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.1542, allocations: 12.03 kB / 491.4 MB, free: 11.38 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001622/0.1544, allocations: 106.5 kB / 491.5 MB, free: 11.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001902/0.1546, allocations: 114.6 kB / 491.6 MB, free: 11.15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009949/0.1556, allocations: 0.5924 MB / 492.2 MB, free: 10.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.1557, allocations: 45.31 kB / 492.3 MB, free: 10.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001046/0.1558, allocations: 68 kB / 492.3 MB, free: 10.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.1572, allocations: 0.7898 MB / 493.1 MB, free: 9.543 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.1572, allocations: 3.938 kB / 493.1 MB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.527e-05/0.1573, allocations: 28 kB / 493.1 MB, free: 9.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.369e-05/0.1573, allocations: 16 kB / 493.2 MB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.1585, allocations: 0.5891 MB / 493.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.1618, allocations: 2.741 MB / 496.5 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1631, allocations: 0.7217 MB / 497.2 MB, free: 5.312 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005748/0.1637, allocations: 311.3 kB / 497.5 MB, free: 4.996 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.211e-05/0.1638, allocations: 7.938 kB / 497.5 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.883e-05/0.1638, allocations: 46.56 kB / 497.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.114e-06/0.1638, allocations: 0 / 497.6 MB, free: 4.934 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001899/0.1657, allocations: 0.8629 MB / 498.4 MB, free: 4.066 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002378/0.166, allocations: 354.1 kB / 498.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008588/0.1668, allocations: 0.6851 MB / 499.5 MB, free: 2.945 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.023e-05/0.1669, allocations: 37.7 kB / 499.5 MB, free: 2.902 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003919/0.1673, allocations: 440.3 kB / 499.9 MB, free: 2.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001572/0.1675, allocations: 181.4 kB / 0.4884 GB, free: 2.285 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.1675, allocations: 12 kB / 0.4884 GB, free: 2.273 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1676, allocations: 326 kB / 0.4887 GB, free: 1.949 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000492/0.1681, allocations: 249 kB / 0.4889 GB, free: 1.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006565/0.1688, allocations: 419.9 kB / 0.4893 GB, free: 1.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005558/0.1694, allocations: 274.8 kB / 0.4896 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1694, allocations: 4 kB / 0.4896 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002603/0.172, allocations: 1.15 MB / 0.4907 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.1722, allocations: 179.3 kB / 0.4909 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.1722, allocations: 0 / 0.4909 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/0.1734, allocations: 363.1 kB / 0.4912 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000544/0.1739, allocations: 135.8 kB / 0.4914 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009046/0.183, allocations: 7.065 MB / 0.4983 GB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007035/0.1837, allocations: 103.4 kB / 0.4984 GB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.1838, allocations: 20 kB / 0.4984 GB, free: 7.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1838, allocations: 7.953 kB / 0.4984 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001489/0.1853, allocations: 0.6708 MB / 0.4991 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1853, allocations: 4 kB / 0.4991 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.1858, allocations: 153.6 kB / 0.4992 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/0.1866, allocations: 171.8 kB / 0.4994 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003858/0.1904, allocations: 3.264 MB / 0.5026 GB, free: 2.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.191, allocations: 79.5 kB / 0.5026 GB, free: 2.738 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.412e-05/0.191, allocations: 19.94 kB / 0.5027 GB, free: 2.719 MB / 382.1 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.0004648/0.1915, allocations: 292.4 kB / 0.5029 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.1918, allocations: 94.83 kB / 0.503 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002363/0.192, allocations: 103.2 kB / 0.5031 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.796e-06/0.192, allocations: 8 kB / 0.5031 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.192, allocations: 0 / 0.5031 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.1921, allocations: 7.969 kB / 0.5031 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00129/0.1933, allocations: 0.7311 MB / 0.5039 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.1934, allocations: 4 kB / 0.5039 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006041/0.194, allocations: 127.8 kB / 0.504 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.194, allocations: 4 kB / 0.504 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.194, allocations: 12 kB / 0.504 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.1941, allocations: 4.125 kB / 0.504 GB, free: 1.285 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.1941, allocations: 4 kB / 0.504 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2872/0.4812, allocations: 1.267 MB / 0.5052 GB, free: 39.09 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005073/0.4818, allocations: 208.5 kB / 0.5054 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.4819, allocations: 15.19 kB / 0.5055 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006093/0.4825, allocations: 56 kB / 0.5055 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/0.4827, allocations: 38.23 kB / 0.5055 GB, free: 39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-05/0.4827, allocations: 14.34 kB / 0.5056 GB, free: 39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009334/0.4837, allocations: 479.8 kB / 0.506 GB, free: 38.9 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4837, allocations: 1 kB / 0.506 GB, free: 38.9 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0017/0.4854, allocations: 282.1 kB / 0.5063 GB, free: 38.9 MB / 382.1 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.002308/0.4877, allocations: 1.836 MB / 0.5081 GB, free: 38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004123/0.4918, allocations: 2.022 MB / 0.51 GB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/0.4919, allocations: 1.156 kB / 0.5101 GB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006294/0.4925, allocations: 304.2 kB / 0.5103 GB, free: 37.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001491/0.494, allocations: 212 kB / 0.5105 GB, free: 37.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/0.5042, allocations: 5.331 MB / 0.5157 GB, free: 35.32 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007962/0.505, allocations: 0.9821 MB / 0.5167 GB, free: 34.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007827/0.5058, allocations: 97.25 kB / 0.5168 GB, free: 34.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.5064, allocations: 321.9 kB / 0.5171 GB, free: 34.35 MB / 382.1 MB Notification: Performance of SimCode: time 2.795e-06/0.5064, allocations: 3.969 kB / 0.5171 GB, free: 34.35 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03789/0.5443, allocations: 18.54 MB / 0.5352 GB, free: 24.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001725/0.5445, allocations: 190.1 kB / 0.5354 GB, free: 24.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/2.99, allocations: 0 / 0.5354 GB, free: 24.41 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat