Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.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.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007881/0.0007881, allocations: 96.16 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008576/0.0008577, allocations: 196.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.3 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 45.92 MB / 344.1 MB, free: 11.99 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 15.92 kB / 418.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1471, allocations: 63.47 MB / 481.6 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001785/0.1489, allocations: 1.365 MB / 483 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001206/0.1502, allocations: 0.6083 MB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.383e-05/0.1503, allocations: 7.938 kB / 483.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.1503, allocations: 3.938 kB / 483.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.027e-05/0.1504, allocations: 11.86 kB / 483.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003724/0.1508, allocations: 115.6 kB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001908/0.151, allocations: 139.6 kB / 483.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1511, allocations: 21.44 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.1512, allocations: 55.83 kB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.1514, allocations: 55.75 kB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.1514, allocations: 11.94 kB / 484 MB, free: 2.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.441e-05/0.1515, allocations: 8 kB / 484 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.1515, allocations: 27.89 kB / 484.1 MB, free: 2.785 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.1515, allocations: 49.58 kB / 484.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.1517, allocations: 100 kB / 484.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1517, allocations: 0 / 484.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1517, allocations: 0 / 484.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.948e-06/0.1517, allocations: 0 / 484.2 MB, free: 2.633 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005742/0.1523, allocations: 438.9 kB / 484.6 MB, free: 2.156 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.1523, allocations: 8.031 kB / 484.6 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.922e-05/0.1524, allocations: 42.55 kB / 484.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.1526, allocations: 23.81 kB / 484.7 MB, free: 2.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.1528, allocations: 219.3 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.1528, allocations: 8 kB / 484.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.564e-05/0.1528, allocations: 15.94 kB / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.1532, allocations: 188.1 kB / 485.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1533, allocations: 4 kB / 485.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1533, allocations: 7.984 kB / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1533, allocations: 0 / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000451/0.1538, allocations: 159.8 kB / 485.3 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008531/0.1546, allocations: 476.5 kB / 485.8 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.1552, allocations: 242.5 kB / 486 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002208/0.1555, allocations: 96.75 kB / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.881e-05/0.1555, allocations: 0 / 486.1 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.1555, allocations: 38.56 kB / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.103e-06/0.1555, allocations: 0 / 486.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001548/0.1571, allocations: 0.6542 MB / 486.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.1572, allocations: 106.8 kB / 486.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.1573, allocations: 162.2 kB / 487.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.1573, allocations: 25.7 kB / 487.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1574, allocations: 108 kB / 487.2 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.1575, allocations: 31.55 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.1575, allocations: 0 / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.1576, allocations: 318.8 kB / 487.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002055/0.1578, allocations: 87.94 kB / 487.6 MB, free: 14.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.1581, allocations: 118.5 kB / 487.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.1583, allocations: 79.98 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1583, allocations: 4 kB / 487.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004737/0.1588, allocations: 229.1 kB / 488 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.284e-05/0.1588, allocations: 97 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1589, allocations: 4 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.1589, allocations: 4 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1591, allocations: 39.97 kB / 488.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1591, allocations: 3.938 kB / 488.2 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.1592, allocations: 35.97 kB / 488.2 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.1593, allocations: 4 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/0.1593, allocations: 4 kB / 488.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002173/0.1595, allocations: 99.88 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/0.1595, allocations: 0 / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.1595, allocations: 3.953 kB / 488.3 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.627e-05/0.1596, allocations: 23.98 kB / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.1596, allocations: 0 / 488.3 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.882e-05/0.1597, allocations: 27.92 kB / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.578e-06/0.1597, allocations: 0 / 488.4 MB, free: 14.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000136/0.1599, allocations: 193.5 kB / 488.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.597e-05/0.1599, allocations: 7.906 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.16, allocations: 20.7 kB / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.16, allocations: 3.953 kB / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.16, allocations: 7.938 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.16, allocations: 4 kB / 488.6 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008928/0.1609, allocations: 0.5421 MB / 489.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1609, allocations: 0 / 489.1 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.1611, allocations: 47.91 kB / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1611, allocations: 0 / 489.2 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.1611, allocations: 8.031 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1611, allocations: 0 / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.1611, allocations: 3.938 kB / 489.2 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007585/0.1619, allocations: 424 kB / 489.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.085e-05/0.162, allocations: 81.02 kB / 489.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.162, allocations: 7.953 kB / 489.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002528/0.1622, allocations: 56.02 kB / 489.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.464e-05/0.1623, allocations: 7.984 kB / 489.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.1623, allocations: 4 kB / 489.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.1624, allocations: 115.2 kB / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1624, allocations: 0 / 489.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.1627, allocations: 32 kB / 489.9 MB, free: 12.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001022/0.1638, allocations: 0.9517 MB / 490.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005752/0.1643, allocations: 244.1 kB / 491.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1644, allocations: 0 / 491.1 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.1646, allocations: 96.56 kB / 491.2 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.1651, allocations: 35.97 kB / 491.2 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001987/0.1671, allocations: 0.9746 MB / 492.2 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.1675, allocations: 0.7127 MB / 492.9 MB, free: 9.387 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1676, allocations: 16.88 kB / 492.9 MB, free: 9.371 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.1677, allocations: 39.41 kB / 493 MB, free: 9.332 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.1677, allocations: 0 / 493 MB, free: 9.332 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.1824, allocations: 3.325 MB / 496.3 MB, free: 6.133 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.1827, allocations: 167.5 kB / 496.5 MB, free: 5.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.909/2.092, allocations: 0 / 496.5 MB, free: 5.887 MB / 366.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat