Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 95.5 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 189.4 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 241.9 MB, free: 244 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2266/0.2266, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003906, allocations: 12 kB / 409.7 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1638, allocations: 61.93 MB / 471.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005403/0.1693, allocations: 3.669 MB / 475.3 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003656/0.173, allocations: 1.485 MB / 476.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1743, allocations: 31.81 kB / 476.8 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.1749, allocations: 102.9 kB / 476.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000932/0.1759, allocations: 130.8 kB / 477.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.1776, allocations: 439.5 kB / 477.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001674/0.1792, allocations: 0.8865 MB / 478.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007728/0.18, allocations: 306.5 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004476/0.1805, allocations: 254.5 kB / 478.9 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004035/0.1809, allocations: 286 kB / 479.2 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001331/0.181, allocations: 20 kB / 479.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.1811, allocations: 20 kB / 479.2 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.1813, allocations: 119.3 kB / 479.4 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001819/0.1814, allocations: 161.1 kB / 479.5 MB, free: 5.711 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1821, allocations: 0.7095 MB / 480.2 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1821, allocations: 0 / 480.2 MB, free: 5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.1821, allocations: 0 / 480.2 MB, free: 5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.017e-05/0.1822, allocations: 0 / 480.2 MB, free: 5 MB / 350.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.002108/0.1843, allocations: 1.15 MB / 481.4 MB, free: 3.801 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1843, allocations: 8.031 kB / 481.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001742/0.1845, allocations: 106.5 kB / 481.5 MB, free: 3.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.1848, allocations: 114.6 kB / 481.6 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009959/0.1858, allocations: 0.5885 MB / 482.2 MB, free: 2.934 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.004e-05/0.1858, allocations: 45.31 kB / 482.2 MB, free: 2.887 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001066/0.1859, allocations: 79.94 kB / 482.3 MB, free: 2.809 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.1873, allocations: 0.7545 MB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.039e-05/0.1874, allocations: 0 / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.397e-05/0.1874, allocations: 28 kB / 483.1 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.151e-05/0.1875, allocations: 16 kB / 483.1 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001235/0.1887, allocations: 0.5894 MB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.1927, allocations: 2.741 MB / 486.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/0.1941, allocations: 0.7256 MB / 487.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006325/0.1948, allocations: 303.3 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/0.1949, allocations: 8 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.1949, allocations: 42.5 kB / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=52): time 2.314e-06/0.1949, allocations: 0 / 487.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=52): time 0.001971/0.1969, allocations: 0.8664 MB / 488.4 MB, free: 12.53 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.1971, allocations: 255.2 kB / 488.6 MB, free: 12.22 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.1982, allocations: 0.6928 MB / 489.3 MB, free: 11.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.238e-05/0.1983, allocations: 37.7 kB / 489.4 MB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/0.1987, allocations: 424.5 kB / 489.8 MB, free: 11.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002228/0.199, allocations: 189.3 kB / 490 MB, free: 10.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.322e-05/0.199, allocations: 8 kB / 490 MB, free: 10.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.1992, allocations: 330 kB / 490.3 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005495/0.1998, allocations: 249 kB / 490.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.2004, allocations: 380.1 kB / 490.9 MB, free: 9.867 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.2011, allocations: 278.6 kB / 491.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.2011, allocations: 0 / 491.2 MB, free: 9.598 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002888/0.204, allocations: 1.153 MB / 492.3 MB, free: 8.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/0.2042, allocations: 187.5 kB / 492.5 MB, free: 8.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2042, allocations: 4 kB / 492.5 MB, free: 8.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.2056, allocations: 371 kB / 492.9 MB, free: 7.824 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005996/0.2062, allocations: 131.9 kB / 493 MB, free: 7.695 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009137/0.2153, allocations: 7.057 MB / 0.4883 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.216, allocations: 99.39 kB / 0.4884 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.747e-05/0.2161, allocations: 20.08 kB / 0.4884 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.336e-06/0.2161, allocations: 4 kB / 0.4885 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.2175, allocations: 0.6679 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.2175, allocations: 4 kB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004896/0.218, allocations: 145.9 kB / 0.4892 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.2187, allocations: 183.8 kB / 0.4894 GB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.2223, allocations: 3.264 MB / 0.4926 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.2228, allocations: 79.55 kB / 0.4927 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.759e-05/0.2229, allocations: 23.98 kB / 0.4927 GB, free: 11.34 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.0004866/0.2234, allocations: 281 kB / 0.493 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.2237, allocations: 98.86 kB / 0.4931 GB, free: 10.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.2239, allocations: 95.16 kB / 0.4932 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.2239, allocations: 11.89 kB / 0.4932 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.2239, allocations: 8 kB / 0.4932 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.206e-06/0.2239, allocations: 3.984 kB / 0.4932 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.2249, allocations: 0.7311 MB / 0.4939 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.225, allocations: 0 / 0.4939 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.2255, allocations: 119.8 kB / 0.494 GB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.2255, allocations: 8 kB / 0.494 GB, free: 9.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.697e-05/0.2255, allocations: 12 kB / 0.494 GB, free: 9.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.2256, allocations: 7.984 kB / 0.494 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.2256, allocations: 3.953 kB / 0.494 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/0.2274, allocations: 1.276 MB / 0.4953 GB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.2277, allocations: 211.9 kB / 0.4955 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.446e-05/0.2278, allocations: 12 kB / 0.4955 GB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.2283, allocations: 55.95 kB / 0.4956 GB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.2284, allocations: 35.91 kB / 0.4956 GB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.2284, allocations: 16 kB / 0.4956 GB, free: 8.281 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005389/0.2289, allocations: 482.9 kB / 0.4961 GB, free: 7.816 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2289, allocations: 0 / 0.4961 GB, free: 7.816 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001012/0.23, allocations: 279 kB / 0.4963 GB, free: 7.543 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.002529/0.2325, allocations: 1.825 MB / 0.4981 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004219/0.2367, allocations: 2.017 MB / 0.5001 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.2367, allocations: 0 / 0.5001 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.2373, allocations: 307.4 kB / 0.5004 GB, free: 3.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.2386, allocations: 211.1 kB / 0.5006 GB, free: 3.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2512/0.4899, allocations: 5.329 MB / 0.5058 GB, free: 46.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006611/0.4906, allocations: 0.9903 MB / 0.5068 GB, free: 45.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004633/0.491, allocations: 89.56 kB / 0.5068 GB, free: 45.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005212/0.4916, allocations: 321.5 kB / 0.5071 GB, free: 45.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.4916, allocations: 0 / 0.5071 GB, free: 45.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04162/0.5332, allocations: 18.47 MB / 0.5252 GB, free: 38.85 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/0.5335, allocations: 196.5 kB / 0.5254 GB, free: 38.61 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.024, allocations: 0 / 0.5254 GB, free: 38.61 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat