Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.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.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters",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.001188/0.001188, allocations: 98.62 kB / 17 MB, free: 6.402 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.001515/0.001515, allocations: 177.7 kB / 17.89 MB, free: 5.945 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.479/1.479, allocations: 223.3 MB / 241.9 MB, free: 336 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2067/0.2067, allocations: 44.22 MB / 337.2 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004058/0.0004059, allocations: 9.094 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1394, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002/0.1414, allocations: 1.341 MB / 473 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009142/0.1424, allocations: 0.5655 MB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1424, allocations: 4 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1425, allocations: 7.875 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1426, allocations: 11.86 kB / 473.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004579/0.1431, allocations: 127.5 kB / 473.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.1433, allocations: 127.7 kB / 473.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.1435, allocations: 29.42 kB / 473.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.1436, allocations: 59.75 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1437, allocations: 55.69 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1438, allocations: 8 kB / 474 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.297e-05/0.1438, allocations: 8 kB / 474 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.1438, allocations: 27.91 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.632e-05/0.1439, allocations: 45.64 kB / 474.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001402/0.144, allocations: 84.03 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.561e-06/0.1441, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1441, allocations: 0 / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1441, allocations: 0 / 474.1 MB, free: 11.12 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.0007372/0.1448, allocations: 445.1 kB / 474.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.1449, allocations: 8.031 kB / 474.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.1449, allocations: 46.55 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.145, allocations: 15.81 kB / 474.6 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.1452, allocations: 211.4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.1452, allocations: 15.94 kB / 474.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.422e-05/0.1453, allocations: 7.953 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/0.1457, allocations: 196.1 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.1457, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.821e-05/0.1458, allocations: 0 / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.326e-06/0.1458, allocations: 7.984 kB / 475.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1462, allocations: 155.9 kB / 475.2 MB, free: 9.922 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.147, allocations: 472.5 kB / 475.7 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.1476, allocations: 246.4 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.1478, allocations: 96.73 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.773e-05/0.1478, allocations: 4 kB / 476 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1479, allocations: 34.55 kB / 476.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1479, allocations: 0 / 476.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.00147/0.1493, allocations: 0.6618 MB / 476.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.1494, allocations: 106.8 kB / 476.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1496, allocations: 150.2 kB / 477 MB, free: 8.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.231e-05/0.1496, allocations: 29.7 kB / 477 MB, free: 7.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.1497, allocations: 108 kB / 477.1 MB, free: 7.871 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.1497, allocations: 35.55 kB / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.023e-06/0.1497, allocations: 0 / 477.1 MB, free: 7.836 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1498, allocations: 322.9 kB / 477.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002114/0.1501, allocations: 87.88 kB / 477.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1503, allocations: 110.5 kB / 477.6 MB, free: 7.309 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002109/0.1505, allocations: 87.91 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1505, allocations: 0 / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004639/0.151, allocations: 217.4 kB / 477.9 MB, free: 7.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.395e-05/0.1511, allocations: 107.4 kB / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1511, allocations: 0 / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.1511, allocations: 0 / 478 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001944/0.1513, allocations: 47.95 kB / 478.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.1513, allocations: 4 kB / 478.1 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1515, allocations: 31.97 kB / 478.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1515, allocations: 7.984 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/0.1515, allocations: 4 kB / 478.1 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002044/0.1517, allocations: 95.89 kB / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-06/0.1517, allocations: 0.5469 kB / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-06/0.1517, allocations: 0 / 478.2 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.974e-05/0.1518, allocations: 24.36 kB / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-06/0.1518, allocations: 0 / 478.3 MB, free: 6.684 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.193e-05/0.1519, allocations: 19.98 kB / 478.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.1519, allocations: 0 / 478.3 MB, free: 6.664 MB / 350.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.0001298/0.1521, allocations: 205.5 kB / 478.5 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.024e-05/0.1521, allocations: 19.83 kB / 478.5 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.426e-05/0.1522, allocations: 12.72 kB / 478.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1522, allocations: 4 kB / 478.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.1522, allocations: 3.938 kB / 478.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1522, allocations: 4 kB / 478.5 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008479/0.153, allocations: 0.5538 MB / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.1531, allocations: 0 / 479.1 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.1532, allocations: 39.97 kB / 479.1 MB, free: 5.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.1532, allocations: 4 kB / 479.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.421e-05/0.1533, allocations: 8.031 kB / 479.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1533, allocations: 0 / 479.1 MB, free: 5.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.1533, allocations: 3.984 kB / 479.1 MB, free: 5.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000723/0.154, allocations: 419.9 kB / 479.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.1541, allocations: 89.05 kB / 479.6 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1541, allocations: 3.984 kB / 479.6 MB, free: 5.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002446/0.1544, allocations: 52.02 kB / 479.7 MB, free: 5.152 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.392e-05/0.1544, allocations: 8 kB / 479.7 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.1544, allocations: 11.94 kB / 479.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.542e-05/0.1545, allocations: 124 kB / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1545, allocations: 0 / 479.8 MB, free: 5.012 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003048/0.1548, allocations: 36 kB / 479.9 MB, free: 4.977 MB / 350.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.0009806/0.1558, allocations: 0.9434 MB / 480.8 MB, free: 4.004 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005663/0.1564, allocations: 236 kB / 481 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1564, allocations: 0 / 481 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000248/0.1567, allocations: 99.94 kB / 481.1 MB, free: 3.676 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1571, allocations: 27.98 kB / 481.2 MB, free: 3.648 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.1588, allocations: 0.9709 MB / 482.1 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.159, allocations: 0.7088 MB / 482.8 MB, free: 1.891 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.286e-05/0.1591, allocations: 20.86 kB / 482.9 MB, free: 1.871 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.81e-05/0.1592, allocations: 39.42 kB / 482.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1592, allocations: 0 / 482.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01435/0.1736, allocations: 3.325 MB / 486.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.1739, allocations: 178.2 kB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.031, allocations: 0 / 486.4 MB, free: 14.39 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat