Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001637, allocations: 122.5 kB / 18.51 MB, free: 4.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002003/0.002003, allocations: 215.2 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.517/1.517, allocations: 230.4 MB / 254.7 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2331/0.2331, allocations: 46.93 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002245/0.002245, allocations: 83.86 kB / 0.4917 GB, free: 7.699 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1248, allocations: 66.04 MB / 0.5562 GB, free: 5.531 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003006/0.1278, allocations: 1.698 MB / 0.5578 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001246/0.1291, allocations: 0.6663 MB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.951e-05/0.1292, allocations: 3.938 kB / 0.5585 GB, free: 3.141 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.444e-05/0.1292, allocations: 7.875 kB / 0.5585 GB, free: 3.133 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/0.1293, allocations: 23.8 kB / 0.5585 GB, free: 3.109 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004462/0.1297, allocations: 151.3 kB / 0.5586 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000215/0.13, allocations: 155.7 kB / 0.5588 GB, free: 2.812 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1301, allocations: 24.89 kB / 0.5588 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001594/0.1302, allocations: 75.75 kB / 0.5589 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.1303, allocations: 71.67 kB / 0.559 GB, free: 2.645 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.1304, allocations: 12 kB / 0.559 GB, free: 2.633 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.022e-05/0.1304, allocations: 20 kB / 0.559 GB, free: 2.613 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.1305, allocations: 35.84 kB / 0.559 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.438e-05/0.1305, allocations: 63.64 kB / 0.5591 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.1307, allocations: 135.5 kB / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1307, allocations: 0 / 0.5592 GB, free: 2.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1307, allocations: 3.938 kB / 0.5592 GB, free: 2.379 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.265e-06/0.1307, allocations: 0 / 0.5592 GB, free: 2.379 MB / 414.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.00076/0.1315, allocations: 466.8 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.1315, allocations: 8.031 kB / 0.5597 GB, free: 1.867 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.1316, allocations: 42.73 kB / 0.5597 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.1318, allocations: 24.83 kB / 0.5597 GB, free: 1.793 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003405/0.1321, allocations: 216.2 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.1321, allocations: 8.375 kB / 0.5599 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.1322, allocations: 8.375 kB / 0.56 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.1326, allocations: 182.4 kB / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.1326, allocations: 0 / 0.5601 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1326, allocations: 8 kB / 0.5601 GB, free: 1.328 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1326, allocations: 4 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.1331, allocations: 119.9 kB / 0.5603 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008859/0.1339, allocations: 464.3 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006227/0.1346, allocations: 190.4 kB / 0.5609 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.1348, allocations: 68.8 kB / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.1348, allocations: 160 / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.1348, allocations: 34.56 kB / 0.561 GB, free: 404 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.1348, allocations: 4 kB / 0.561 GB, free: 400 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001595/0.1364, allocations: 0.5758 MB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.1365, allocations: 110.8 kB / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1367, allocations: 165.5 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.1367, allocations: 25.7 kB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.1368, allocations: 104.1 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.388e-05/0.1368, allocations: 31.7 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1369, allocations: 33.7 kB / 0.562 GB, free: 15.24 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.137, allocations: 318.8 kB / 0.5623 GB, free: 14.92 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1372, allocations: 80.73 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/0.1375, allocations: 90.5 kB / 0.5625 GB, free: 14.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004486/0.1379, allocations: 144.7 kB / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1379, allocations: 0 / 0.5626 GB, free: 14.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005194/0.1385, allocations: 185.8 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.1385, allocations: 4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1385, allocations: 3.938 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1385, allocations: 12.02 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001963/0.1387, allocations: 35.91 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1387, allocations: 0 / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001512/0.1388, allocations: 27.97 kB / 0.5629 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/0.1389, allocations: 4 kB / 0.5629 GB, free: 14.32 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001623/0.139, allocations: 116.1 kB / 0.563 GB, free: 14.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000127/0.1391, allocations: 58.55 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001879/0.1393, allocations: 76.75 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-06/0.1393, allocations: 4.578 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002676/0.1396, allocations: 125.5 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.782e-06/0.1396, allocations: 4 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.1396, allocations: 3.984 kB / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-06/0.1396, allocations: 0 / 0.5632 GB, free: 13.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.314e-05/0.1397, allocations: 19.98 kB / 0.5632 GB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.1397, allocations: 7.938 kB / 0.5633 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001012/0.1398, allocations: 15.98 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.1398, allocations: 7.984 kB / 0.5633 GB, free: 13.87 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001126/0.1399, allocations: 180.3 kB / 0.5634 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.493e-05/0.14, allocations: 15.91 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.122e-05/0.14, allocations: 17.39 kB / 0.5635 GB, free: 13.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.14, allocations: 7.938 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.14, allocations: 288 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.14, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.141, allocations: 0.5108 MB / 0.564 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.141, allocations: 7.922 kB / 0.564 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/0.1411, allocations: 40 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1411, allocations: 0 / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.1412, allocations: 4 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1412, allocations: 3.938 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.1412, allocations: 0 / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/0.142, allocations: 368 kB / 0.5644 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.142, allocations: 85.09 kB / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.142, allocations: 0 / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002783/0.1423, allocations: 44.02 kB / 0.5645 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.1424, allocations: 7.984 kB / 0.5645 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1424, allocations: 4 kB / 0.5645 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.119e-05/0.1425, allocations: 116.9 kB / 0.5646 GB, free: 12.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1425, allocations: 0 / 0.5646 GB, free: 12.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003236/0.1428, allocations: 40 kB / 0.5647 GB, free: 12.33 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001105/0.1439, allocations: 0.8965 MB / 0.5656 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.1445, allocations: 184.2 kB / 0.5657 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.1445, allocations: 0 / 0.5657 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002477/0.1448, allocations: 83.84 kB / 0.5658 GB, free: 11.14 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.1452, allocations: 33.38 kB / 0.5658 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002938/0.1481, allocations: 1.937 MB / 0.5677 GB, free: 9.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.1484, allocations: 0.7046 MB / 0.5684 GB, free: 8.359 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.893e-05/0.1485, allocations: 20.86 kB / 0.5684 GB, free: 8.336 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.137e-05/0.1486, allocations: 39.42 kB / 0.5685 GB, free: 8.297 MB / 430.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1486, allocations: 0 / 0.5685 GB, free: 8.297 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.175, allocations: 3.883 MB / 0.5723 GB, free: 4.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.983/8.158, allocations: 0 / 0.5723 GB, free: 4.48 MB / 430.1 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219036 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.25842898292467] Failed to read output from testmodel.py, exit status != 0: ['time', 'slewRateLimiter.y', 'limiter.y', 'variableLimiter.y', 'deadZone.y', 'sine.y', 'constPos.y', 'constNeg.y', 'idealDerivative.y'] 8.224375065881759 8.238809327 8.10530745 Calling exit ...