Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",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.0009904/0.0009906, allocations: 95.94 kB / 16.99 MB, free: 5.941 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.001032/0.001032, allocations: 183.2 kB / 17.87 MB, free: 5.609 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.407/1.407, allocations: 223.2 MB / 241.8 MB, free: 14.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2182/0.2182, allocations: 44.23 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004123/0.0004124, allocations: 8 kB / 409.6 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 61.92 MB / 471.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003677/0.1539, allocations: 2.945 MB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1564, allocations: 1.294 MB / 475.8 MB, free: 9.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003329/0.1567, allocations: 19.88 kB / 475.8 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.949e-05/0.1568, allocations: 51.39 kB / 475.8 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005437/0.1574, allocations: 171.3 kB / 476 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1584, allocations: 468.7 kB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008329/0.1593, allocations: 0.5747 MB / 477 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004136/0.1597, allocations: 232.5 kB / 477.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004935/0.1602, allocations: 290.7 kB / 477.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.1606, allocations: 274.4 kB / 477.8 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.781e-05/0.1606, allocations: 24 kB / 477.8 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-05/0.1607, allocations: 20 kB / 477.9 MB, free: 7.273 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.1609, allocations: 111.4 kB / 478 MB, free: 7.164 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.161, allocations: 141.3 kB / 478.1 MB, free: 7.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.1616, allocations: 0.5611 MB / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1616, allocations: 0 / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1616, allocations: 0 / 478.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.716e-06/0.1616, allocations: 0 / 478.7 MB, free: 6.457 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002113/0.1637, allocations: 1.117 MB / 479.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.1638, allocations: 8.031 kB / 479.8 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001125/0.1639, allocations: 90.52 kB / 479.9 MB, free: 5.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.164, allocations: 90.88 kB / 480 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007752/0.1648, allocations: 0.5226 MB / 480.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.279e-05/0.1649, allocations: 37 kB / 480.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.004e-05/0.165, allocations: 59.95 kB / 480.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1664, allocations: 0.7462 MB / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.739e-05/0.1664, allocations: 0 / 481.3 MB, free: 3.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.514e-05/0.1665, allocations: 24 kB / 481.4 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1665, allocations: 12 kB / 481.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001492/0.168, allocations: 0.6401 MB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.1718, allocations: 2.352 MB / 484.4 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.1736, allocations: 0.8076 MB / 485.2 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.197e-05/0.1737, allocations: 16.36 kB / 485.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.245e-05/0.1737, allocations: 46.88 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.284e-06/0.1737, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.005172/0.1789, allocations: 2.142 MB / 487.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.1791, allocations: 188.4 kB / 487.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007347/0.1798, allocations: 0.5668 MB / 488.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/0.1799, allocations: 37.7 kB / 488.2 MB, free: 12.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002556/0.1801, allocations: 356.8 kB / 488.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.1803, allocations: 181.3 kB / 488.7 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.991e-05/0.1803, allocations: 12 kB / 488.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.1805, allocations: 382.8 kB / 489.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008292/0.1813, allocations: 340.9 kB / 489.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009842/0.1823, allocations: 458 kB / 489.9 MB, free: 10.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.1832, allocations: 362 kB / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.1832, allocations: 0 / 490.2 MB, free: 10.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00202/0.1853, allocations: 0.8807 MB / 491.1 MB, free: 9.574 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004211/0.1857, allocations: 0.8793 MB / 492 MB, free: 8.625 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.1857, allocations: 7.984 kB / 492 MB, free: 8.617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.1858, allocations: 8 kB / 492 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009056/0.1867, allocations: 219.7 kB / 492.2 MB, free: 8.395 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.727e-05/0.1867, allocations: 8 kB / 492.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006346/0.1874, allocations: 103.9 kB / 492.3 MB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.734e-05/0.1874, allocations: 23.98 kB / 492.3 MB, free: 8.262 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/0.1874, allocations: 7.938 kB / 492.3 MB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.1887, allocations: 0.6142 MB / 493 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.1888, allocations: 0 / 493 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/0.1888, allocations: 11.95 kB / 493 MB, free: 7.629 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006614/0.1894, allocations: 176.1 kB / 493.1 MB, free: 7.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1895, allocations: 7.938 kB / 493.1 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004462/0.1899, allocations: 67.95 kB / 493.2 MB, free: 7.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.434e-05/0.1899, allocations: 19.98 kB / 493.2 MB, free: 7.363 MB / 366.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0004587/0.1904, allocations: 269.5 kB / 493.5 MB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.1906, allocations: 79.06 kB / 493.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001676/0.1907, allocations: 83.28 kB / 493.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.1907, allocations: 7.953 kB / 493.7 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/0.1908, allocations: 4 kB / 493.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.1908, allocations: 3.984 kB / 493.7 MB, free: 6.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002847/0.1936, allocations: 1.542 MB / 495.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.1937, allocations: 0 / 495.2 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.1944, allocations: 179.9 kB / 495.4 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.012e-05/0.1944, allocations: 4 kB / 495.4 MB, free: 5.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/0.1944, allocations: 12 kB / 495.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1944, allocations: 4 kB / 495.4 MB, free: 5.109 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.287e-06/0.1945, allocations: 3.984 kB / 495.4 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002865/0.1973, allocations: 1.429 MB / 496.8 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002852/0.1976, allocations: 192.2 kB / 497 MB, free: 3.422 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.957e-05/0.1977, allocations: 12 kB / 497 MB, free: 3.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005754/0.1983, allocations: 107.9 kB / 497.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.1984, allocations: 47.62 kB / 497.2 MB, free: 3.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-05/0.1985, allocations: 19.98 kB / 497.2 MB, free: 3.238 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004604/0.199, allocations: 387 kB / 497.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.199, allocations: 3.938 kB / 497.6 MB, free: 2.863 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007288/0.1997, allocations: 184 kB / 497.8 MB, free: 2.684 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 50 * 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.003273/0.203, allocations: 2.2 MB / 500 MB, free: 444 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002766/0.2058, allocations: 1.095 MB / 0.4893 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.2058, allocations: 0 / 0.4893 GB, free: 15.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009054/0.2067, allocations: 412.1 kB / 0.4897 GB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009645/0.2077, allocations: 175.3 kB / 0.4899 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/0.2177, allocations: 6.119 MB / 0.4959 GB, free: 8.543 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/0.2183, allocations: 0.9338 MB / 0.4968 GB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005476/0.2189, allocations: 97.08 kB / 0.4969 GB, free: 7.484 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.2194, allocations: 275.3 kB / 0.4971 GB, free: 7.215 MB / 382.1 MB Notification: Performance of SimCode: time 1.823e-06/0.2194, allocations: 0 / 0.4971 GB, free: 7.215 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2765/0.4959, allocations: 13.89 MB / 0.5107 GB, free: 47.58 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.4961, allocations: 168.9 kB / 0.5109 GB, free: 47.34 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.161/2.657, allocations: 0 / 0.5109 GB, free: 47.34 MB / 382.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat