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.001158/0.001158, allocations: 99.27 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001296/0.001296, allocations: 205.4 kB / 17.9 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 45.92 MB / 344 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002766/0.0002765, allocations: 12 kB / 418.1 MB, free: 20.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1549, allocations: 63.47 MB / 481.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.003681/0.1587, allocations: 2.957 MB / 484.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003049/0.1618, allocations: 1.329 MB / 485.8 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005363/0.1623, allocations: 19.88 kB / 485.8 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.1625, allocations: 51.38 kB / 485.9 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006175/0.1631, allocations: 151.5 kB / 486 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1642, allocations: 486.2 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008674/0.1651, allocations: 0.5668 MB / 487.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004139/0.1655, allocations: 228.7 kB / 487.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004713/0.166, allocations: 286.7 kB / 487.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.1663, allocations: 282.4 kB / 487.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.757e-05/0.1664, allocations: 24 kB / 487.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.1665, allocations: 28 kB / 487.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.1666, allocations: 111.4 kB / 488 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.1667, allocations: 133.3 kB / 488.1 MB, free: 14.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.1673, allocations: 0.5689 MB / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1673, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1673, allocations: 0 / 488.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.1673, allocations: 4 kB / 488.7 MB, free: 14.01 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.002277/0.1696, allocations: 1.106 MB / 489.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.69e-05/0.1697, allocations: 12.03 kB / 489.8 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.1699, allocations: 98.45 kB / 489.9 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005785/0.1704, allocations: 146.8 kB / 490.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.1713, allocations: 0.5303 MB / 490.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.1714, allocations: 37 kB / 490.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.27e-05/0.1715, allocations: 60 kB / 490.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.173, allocations: 0.7557 MB / 491.4 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.173, allocations: 4 kB / 491.5 MB, free: 11.11 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.907e-05/0.1731, allocations: 20 kB / 491.5 MB, free: 11.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1731, allocations: 12 kB / 491.5 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1747, allocations: 0.6362 MB / 492.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003615/0.1783, allocations: 2.349 MB / 494.5 MB, free: 8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1802, allocations: 0.8192 MB / 495.3 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.355e-05/0.1802, allocations: 16.36 kB / 495.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.799e-05/0.1803, allocations: 34.94 kB / 495.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.585e-06/0.1803, allocations: 4 kB / 495.3 MB, free: 7.082 MB / 366.1 MB Notification: Performance of matching and sorting (n=50): time 0.004961/0.1853, allocations: 2.151 MB / 497.5 MB, free: 4.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001538/0.1854, allocations: 239.8 kB / 497.7 MB, free: 4.586 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007341/0.1862, allocations: 0.5668 MB / 498.3 MB, free: 4.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.254e-05/0.1863, allocations: 33.7 kB / 498.3 MB, free: 3.969 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003072/0.1866, allocations: 352.8 kB / 498.7 MB, free: 3.621 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.1867, allocations: 173.5 kB / 498.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/0.1868, allocations: 8 kB / 498.8 MB, free: 3.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001996/0.187, allocations: 382.8 kB / 499.2 MB, free: 3.059 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008634/0.1879, allocations: 348.8 kB / 499.6 MB, free: 2.719 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009533/0.1888, allocations: 479.7 kB / 0.4883 GB, free: 2.199 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008937/0.1897, allocations: 350 kB / 0.4886 GB, free: 1.859 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1897, allocations: 4 kB / 0.4886 GB, free: 1.855 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002041/0.1918, allocations: 0.8884 MB / 0.4895 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004908/0.1923, allocations: 0.8753 MB / 0.4904 GB, free: 16 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.1923, allocations: 4 kB / 0.4904 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.1923, allocations: 8 kB / 0.4904 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009383/0.1933, allocations: 215.8 kB / 0.4906 GB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.1933, allocations: 15.89 kB / 0.4906 GB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005888/0.1939, allocations: 111.8 kB / 0.4907 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.194, allocations: 20 kB / 0.4907 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.194, allocations: 4 kB / 0.4907 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001352/0.1953, allocations: 0.6222 MB / 0.4913 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/0.1954, allocations: 0 / 0.4913 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.534e-06/0.1954, allocations: 8 kB / 0.4913 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000656/0.196, allocations: 175.8 kB / 0.4915 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1961, allocations: 4 kB / 0.4915 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004163/0.1965, allocations: 71.94 kB / 0.4916 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/0.1965, allocations: 20 kB / 0.4916 GB, free: 14.75 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.0004078/0.1969, allocations: 269 kB / 0.4919 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001496/0.1971, allocations: 79 kB / 0.4919 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002055/0.1973, allocations: 87.27 kB / 0.492 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.1973, allocations: 4 kB / 0.492 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.1973, allocations: 0 / 0.492 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.223e-05/0.1973, allocations: 8.266 kB / 0.492 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002944/0.2003, allocations: 1.545 MB / 0.4935 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.2003, allocations: 0 / 0.4935 GB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007219/0.201, allocations: 175.8 kB / 0.4937 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.2011, allocations: 4 kB / 0.4937 GB, free: 12.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.2011, allocations: 15.98 kB / 0.4937 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.2011, allocations: 4 kB / 0.4937 GB, free: 12.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.2011, allocations: 4 kB / 0.4937 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002945/0.2041, allocations: 1.433 MB / 0.4951 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.2044, allocations: 192.1 kB / 0.4953 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.712e-05/0.2044, allocations: 12 kB / 0.4953 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.2051, allocations: 107.9 kB / 0.4954 GB, free: 10.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001128/0.2052, allocations: 51.67 kB / 0.4955 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/0.2052, allocations: 12 kB / 0.4955 GB, free: 10.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004787/0.2057, allocations: 391.1 kB / 0.4959 GB, free: 10.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2057, allocations: 4 kB / 0.4959 GB, free: 10.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007244/0.2065, allocations: 180 kB / 0.496 GB, free: 10.08 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.003339/0.2098, allocations: 2.2 MB / 0.4982 GB, free: 7.828 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002691/0.2125, allocations: 1.103 MB / 0.4993 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.2125, allocations: 0 / 0.4993 GB, free: 6.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.2135, allocations: 407.5 kB / 0.4997 GB, free: 6.328 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.2146, allocations: 189.3 kB / 0.4998 GB, free: 6.148 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2617/0.4763, allocations: 6.099 MB / 0.5058 GB, free: 41.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007878/0.4772, allocations: 0.9373 MB / 0.5067 GB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007902/0.478, allocations: 88.41 kB / 0.5068 GB, free: 41.2 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006295/0.4786, allocations: 278.8 kB / 0.5071 GB, free: 41.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.893e-06/0.4786, allocations: 0 / 0.5071 GB, free: 41.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04079/0.5194, allocations: 13.94 MB / 0.5207 GB, free: 37.52 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/0.5197, allocations: 162.3 kB / 0.5208 GB, free: 37.29 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.126/2.645, allocations: 3.938 kB / 0.5208 GB, free: 37.28 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