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.001003/0.001003, allocations: 96.86 kB / 16.99 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001118/0.001118, allocations: 198.1 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.52/1.52, allocations: 227.3 MB / 245.9 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2158/0.2158, allocations: 45.91 MB / 344 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 8 kB / 418 MB, free: 20.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1486, allocations: 63.47 MB / 481.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001956/0.1507, allocations: 1.369 MB / 482.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1517, allocations: 0.5928 MB / 483.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.14e-05/0.1518, allocations: 0 / 483.5 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.32e-05/0.1519, allocations: 7.922 kB / 483.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.152, allocations: 19.91 kB / 483.5 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1524, allocations: 111.8 kB / 483.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001773/0.1526, allocations: 91.77 kB / 483.7 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1527, allocations: 29.42 kB / 483.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1529, allocations: 55.83 kB / 483.8 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.153, allocations: 55.69 kB / 483.8 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1531, allocations: 8 kB / 483.9 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.274e-05/0.1531, allocations: 8 kB / 483.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.164e-05/0.1532, allocations: 27.89 kB / 483.9 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1532, allocations: 45.64 kB / 483.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.1534, allocations: 92.03 kB / 484 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1534, allocations: 4 kB / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1534, allocations: 0 / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1534, allocations: 0 / 484 MB, free: 2.762 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.0008234/0.1542, allocations: 442.9 kB / 484.5 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.1543, allocations: 8.031 kB / 484.5 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.216e-05/0.1544, allocations: 42.5 kB / 484.5 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.1546, allocations: 27.8 kB / 484.5 MB, free: 2.195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/0.1549, allocations: 215.4 kB / 484.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.1549, allocations: 8 kB / 484.8 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/0.1549, allocations: 12 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004759/0.1554, allocations: 198 kB / 485 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1555, allocations: 0 / 485 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.1555, allocations: 8 kB / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.1555, allocations: 3.984 kB / 485 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004302/0.1559, allocations: 155.9 kB / 485.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.1569, allocations: 476.5 kB / 485.6 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.1576, allocations: 242.5 kB / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.1576, allocations: 7.891 kB / 485.8 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.1576, allocations: 38.56 kB / 485.9 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1577, allocations: 3.938 kB / 485.9 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001675/0.1593, allocations: 0.65 MB / 486.5 MB, free: 32 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.624e-05/0.1594, allocations: 102.8 kB / 486.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1596, allocations: 162.8 kB / 486.8 MB, free: 15.74 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.1597, allocations: 25.7 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.475e-05/0.1598, allocations: 112.2 kB / 486.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.686e-05/0.1598, allocations: 31.53 kB / 486.9 MB, free: 15.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.1598, allocations: 4 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.16, allocations: 318.8 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1602, allocations: 91.88 kB / 487.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002502/0.1605, allocations: 114.5 kB / 487.5 MB, free: 15.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002294/0.1607, allocations: 75.98 kB / 487.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1607, allocations: 4 kB / 487.5 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005331/0.1613, allocations: 225.3 kB / 487.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.015e-05/0.1614, allocations: 101 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1614, allocations: 0.9219 kB / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1614, allocations: 0 / 487.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002177/0.1616, allocations: 43.97 kB / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1616, allocations: 0 / 487.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.1618, allocations: 39.91 kB / 487.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.1618, allocations: 7.938 kB / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.1618, allocations: 0 / 488 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002264/0.1621, allocations: 95.95 kB / 488 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.1621, allocations: 3.984 kB / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-06/0.1621, allocations: 0 / 488.1 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.539e-05/0.1622, allocations: 27.92 kB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.1622, allocations: 7.938 kB / 488.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.994e-05/0.1623, allocations: 23.98 kB / 488.1 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.1623, allocations: 0 / 488.1 MB, free: 14.37 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.0001529/0.1624, allocations: 193.1 kB / 488.3 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.1625, allocations: 7.906 kB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.959e-05/0.1625, allocations: 16.72 kB / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1625, allocations: 0 / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.1626, allocations: 3.953 kB / 488.3 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.1626, allocations: 3.984 kB / 488.3 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009351/0.1635, allocations: 0.5499 MB / 488.9 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.1635, allocations: 4 kB / 488.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1637, allocations: 47.89 kB / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1637, allocations: 3.953 kB / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1637, allocations: 4 kB / 488.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.1638, allocations: 8.031 kB / 488.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1638, allocations: 0 / 488.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/0.1646, allocations: 429.7 kB / 489.4 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.1647, allocations: 89 kB / 489.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.933e-05/0.1647, allocations: 4 kB / 489.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.165, allocations: 56.02 kB / 489.5 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.734e-05/0.165, allocations: 7.984 kB / 489.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.1651, allocations: 192 / 489.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.1652, allocations: 119.2 kB / 489.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1652, allocations: 3.938 kB / 489.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003259/0.1655, allocations: 32 kB / 489.7 MB, free: 12.7 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.001336/0.1669, allocations: 1.034 MB / 490.7 MB, free: 11.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006528/0.1675, allocations: 235.8 kB / 490.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1675, allocations: 0 / 490.9 MB, free: 11.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000239/0.1678, allocations: 96 kB / 491 MB, free: 11.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.1681, allocations: 27.97 kB / 491.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001993/0.1701, allocations: 0.9784 MB / 492 MB, free: 10.24 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1705, allocations: 0.7088 MB / 492.7 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.917e-05/0.1706, allocations: 16.88 kB / 492.8 MB, free: 9.492 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.57e-05/0.1707, allocations: 39.42 kB / 492.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1707, allocations: 0 / 492.8 MB, free: 9.453 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01417/0.1848, allocations: 3.319 MB / 496.1 MB, free: 6.254 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/0.1852, allocations: 159 kB / 496.3 MB, free: 6.012 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.017, allocations: 7.938 kB / 496.3 MB, free: 6.004 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