Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008714/0.0008713, allocations: 97.33 kB / 17 MB, free: 6.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009271/0.0009272, allocations: 197.1 kB / 17.91 MB, free: 5.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2359/0.2359, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002631/0.0002635, allocations: 11.98 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1482, allocations: 63.47 MB / 481.6 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003679/0.1519, allocations: 2.957 MB / 484.6 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002598/0.1545, allocations: 1.356 MB / 485.9 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003053/0.1549, allocations: 27.81 kB / 486 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.1551, allocations: 75.17 kB / 486 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.1555, allocations: 126.8 kB / 486.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009896/0.1565, allocations: 477.6 kB / 486.6 MB, free: 264 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008769/0.1574, allocations: 0.8002 MB / 487.4 MB, free: 15.46 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.1579, allocations: 216.7 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005141/0.1584, allocations: 286.5 kB / 487.9 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004313/0.1588, allocations: 278.4 kB / 488.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.867e-05/0.1589, allocations: 27.94 kB / 488.2 MB, free: 14.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.159, allocations: 31.98 kB / 488.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1592, allocations: 107.5 kB / 488.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1593, allocations: 133.3 kB / 488.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.1598, allocations: 0.565 MB / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1598, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1598, allocations: 0 / 489.1 MB, free: 13.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.647e-06/0.1598, allocations: 0 / 489.1 MB, free: 13.81 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002076/0.1619, allocations: 1.11 MB / 490.2 MB, free: 12.65 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.162, allocations: 16.03 kB / 490.2 MB, free: 12.64 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.1621, allocations: 94.52 kB / 490.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005114/0.1626, allocations: 146.8 kB / 490.4 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007672/0.1634, allocations: 0.5342 MB / 491 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.1635, allocations: 37 kB / 491 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.65e-05/0.1636, allocations: 52 kB / 491 MB, free: 11.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1651, allocations: 0.7635 MB / 491.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.1652, allocations: 3.938 kB / 491.8 MB, free: 10.9 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.44e-05/0.1652, allocations: 20 kB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1653, allocations: 12 kB / 491.8 MB, free: 10.87 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.1667, allocations: 0.6401 MB / 492.5 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.1702, allocations: 2.356 MB / 494.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002024/0.1722, allocations: 0.8192 MB / 495.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.173, allocations: 378.2 kB / 496 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/0.1731, allocations: 4.375 kB / 496 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.1731, allocations: 38.94 kB / 496.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.1731, allocations: 0 / 496.1 MB, free: 6.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004839/0.178, allocations: 2.154 MB / 498.2 MB, free: 4.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.1782, allocations: 247.8 kB / 498.5 MB, free: 3.992 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007007/0.1789, allocations: 0.5628 MB / 499 MB, free: 3.418 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.026e-05/0.1789, allocations: 37.7 kB / 499.1 MB, free: 3.375 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003335/0.1793, allocations: 352.8 kB / 499.4 MB, free: 3.027 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.1794, allocations: 177.5 kB / 499.6 MB, free: 2.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.961e-05/0.1795, allocations: 8 kB / 499.6 MB, free: 2.844 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.1797, allocations: 382.8 kB / 500 MB, free: 2.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008159/0.1805, allocations: 344.9 kB / 0.4886 GB, free: 2.125 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009321/0.1815, allocations: 475.6 kB / 0.489 GB, free: 1.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000839/0.1823, allocations: 366.1 kB / 0.4894 GB, free: 1.254 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1823, allocations: 0 / 0.4894 GB, free: 1.254 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001964/0.1843, allocations: 0.8846 MB / 0.4902 GB, free: 372 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.1845, allocations: 155 kB / 0.4904 GB, free: 180 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.1845, allocations: 4 kB / 0.4904 GB, free: 176 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.184e-05/0.1845, allocations: 4 kB / 0.4904 GB, free: 172 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008426/0.1853, allocations: 223.6 kB / 0.4906 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.851e-05/0.1854, allocations: 8 kB / 0.4906 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/0.1859, allocations: 115.8 kB / 0.4907 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.042e-05/0.1859, allocations: 23.98 kB / 0.4908 GB, free: 15.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/0.1859, allocations: 4 kB / 0.4908 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001259/0.1872, allocations: 0.6106 MB / 0.4914 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1872, allocations: 4 kB / 0.4914 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.897e-06/0.1872, allocations: 7.984 kB / 0.4914 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/0.1879, allocations: 175.8 kB / 0.4915 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1879, allocations: 4 kB / 0.4915 GB, free: 15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.1883, allocations: 71.91 kB / 0.4916 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.629e-05/0.1884, allocations: 23.98 kB / 0.4916 GB, free: 14.91 MB / 382.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.0003236/0.1887, allocations: 265 kB / 0.4919 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.1888, allocations: 79.06 kB / 0.492 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.189, allocations: 83.27 kB / 0.492 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.1891, allocations: 4 kB / 0.492 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/0.1891, allocations: 0 / 0.492 GB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.1891, allocations: 7.953 kB / 0.492 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002923/0.192, allocations: 1.545 MB / 0.4936 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.192, allocations: 4.062 kB / 0.4936 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.1928, allocations: 171.8 kB / 0.4937 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.523e-06/0.1928, allocations: 4 kB / 0.4937 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.563e-05/0.1928, allocations: 15.98 kB / 0.4937 GB, free: 12.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.1928, allocations: 8 kB / 0.4937 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1928, allocations: 0 / 0.4937 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002781/0.1956, allocations: 1.397 MB / 0.4951 GB, free: 11.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.1959, allocations: 192.1 kB / 0.4953 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.174e-05/0.196, allocations: 12 kB / 0.4953 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005444/0.1965, allocations: 119.8 kB / 0.4954 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.1967, allocations: 43.88 kB / 0.4955 GB, free: 10.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-05/0.1967, allocations: 15.98 kB / 0.4955 GB, free: 10.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004519/0.1972, allocations: 391.1 kB / 0.4959 GB, free: 10.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1972, allocations: 0 / 0.4959 GB, free: 10.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006983/0.1979, allocations: 180 kB / 0.496 GB, free: 10.3 MB / 382.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.003066/0.201, allocations: 1.966 MB / 0.4979 GB, free: 8.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00255/0.2035, allocations: 1.107 MB / 0.499 GB, free: 7.188 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.563e-06/0.2035, allocations: 4 kB / 0.499 GB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.2045, allocations: 399.7 kB / 0.4994 GB, free: 6.793 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.2056, allocations: 179.2 kB / 0.4996 GB, free: 6.617 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008552/0.2141, allocations: 4.782 MB / 0.5042 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.2146, allocations: 0.918 MB / 0.5051 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000509/0.2152, allocations: 101 kB / 0.5052 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.2156, allocations: 267.3 kB / 0.5055 GB, free: 448 kB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.2156, allocations: 0 / 0.5055 GB, free: 448 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3019/0.5175, allocations: 13.96 MB / 0.5191 GB, free: 37.6 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/0.5177, allocations: 175.1 kB / 0.5193 GB, free: 37.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.251/2.769, allocations: 4 kB / 0.5193 GB, free: 37.36 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat