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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001247/0.001247, allocations: 118.2 kB / 18.49 MB, free: 4.566 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.001345/0.001345, allocations: 218.3 kB / 21.46 MB, free: 1.613 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.385/1.385, 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 trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2142/0.2142, allocations: 46.91 MB / 357.7 MB, free: 10.18 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002201/0.002201, allocations: 79.88 kB / 0.4916 GB, free: 7.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1206, allocations: 66.04 MB / 0.5561 GB, free: 5.539 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003152/0.1238, allocations: 1.694 MB / 0.5578 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.125, allocations: 0.6623 MB / 0.5584 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.221e-05/0.1251, allocations: 7.938 kB / 0.5585 GB, free: 3.152 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.988e-05/0.1251, allocations: 7.875 kB / 0.5585 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.1253, allocations: 31.78 kB / 0.5585 GB, free: 3.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004469/0.1257, allocations: 146.6 kB / 0.5586 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002207/0.1259, allocations: 155.6 kB / 0.5588 GB, free: 2.82 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000109/0.126, allocations: 24.89 kB / 0.5588 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1262, allocations: 79.75 kB / 0.5589 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1263, allocations: 67.67 kB / 0.5589 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.1263, allocations: 12 kB / 0.559 GB, free: 2.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.057e-05/0.1264, allocations: 16 kB / 0.559 GB, free: 2.625 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.509e-05/0.1264, allocations: 35.91 kB / 0.559 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.479e-05/0.1265, allocations: 67.64 kB / 0.5591 GB, free: 2.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000201/0.1267, allocations: 139.4 kB / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1267, allocations: 0 / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1267, allocations: 0 / 0.5592 GB, free: 2.387 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.909e-06/0.1267, allocations: 3.938 kB / 0.5592 GB, free: 2.383 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.000737/0.1275, allocations: 454.8 kB / 0.5596 GB, free: 1.891 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1275, allocations: 16.03 kB / 0.5597 GB, free: 1.875 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.39e-05/0.1275, allocations: 4.188 kB / 0.5597 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.554e-05/0.1276, allocations: 42.73 kB / 0.5597 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.1277, allocations: 24.83 kB / 0.5597 GB, free: 1.797 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.128, allocations: 220.1 kB / 0.5599 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.128, allocations: 8.375 kB / 0.5599 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.829e-05/0.1281, allocations: 8.375 kB / 0.5599 GB, free: 1.527 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004241/0.1285, allocations: 176.1 kB / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1285, allocations: 0 / 0.5601 GB, free: 1.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.1285, allocations: 7.938 kB / 0.5601 GB, free: 1.332 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.1285, allocations: 7.938 kB / 0.5601 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000404/0.1289, allocations: 119.9 kB / 0.5602 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008578/0.1298, allocations: 464.3 kB / 0.5607 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006198/0.1304, allocations: 186.5 kB / 0.5609 GB, free: 0.5117 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002221/0.1306, allocations: 72.78 kB / 0.5609 GB, free: 448 kB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.1307, allocations: 4 kB / 0.5609 GB, free: 444 kB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.1307, allocations: 34.5 kB / 0.561 GB, free: 400 kB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.1307, allocations: 4 kB / 0.561 GB, free: 396 kB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001539/0.1322, allocations: 0.576 MB / 0.5615 GB, free: 15.76 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.1323, allocations: 102.8 kB / 0.5616 GB, free: 15.63 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001589/0.1324, allocations: 163.4 kB / 0.5618 GB, free: 15.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1325, allocations: 25.7 kB / 0.5618 GB, free: 15.42 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/0.1325, allocations: 108.1 kB / 0.5619 GB, free: 15.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.489e-05/0.1326, allocations: 31.7 kB / 0.562 GB, free: 15.28 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.1326, allocations: 25.7 kB / 0.562 GB, free: 15.25 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1328, allocations: 322.8 kB / 0.5623 GB, free: 14.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.133, allocations: 84.67 kB / 0.5624 GB, free: 14.84 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.1333, allocations: 90.5 kB / 0.5624 GB, free: 14.74 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004358/0.1337, allocations: 137.1 kB / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1337, allocations: 0 / 0.5626 GB, free: 14.61 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005186/0.1342, allocations: 197.4 kB / 0.5628 GB, free: 14.41 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.1342, allocations: 4 kB / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.1342, allocations: 0 / 0.5628 GB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1343, allocations: 7.938 kB / 0.5628 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.1345, allocations: 35.97 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.1345, allocations: 3.938 kB / 0.5628 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1346, allocations: 27.97 kB / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.1346, allocations: 0 / 0.5628 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001589/0.1348, allocations: 124.1 kB / 0.563 GB, free: 14.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001278/0.1349, allocations: 58.55 kB / 0.563 GB, free: 14.14 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001827/0.1351, allocations: 68.81 kB / 0.5631 GB, free: 14.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.31e-07/0.1351, allocations: 4.031 kB / 0.5631 GB, free: 14.06 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002788/0.1354, allocations: 125.5 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.1354, allocations: 5.719 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-06/0.1354, allocations: 3.984 kB / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-06/0.1354, allocations: 384 / 0.5632 GB, free: 13.93 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.1355, allocations: 31.86 kB / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.1355, allocations: 0 / 0.5632 GB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.851e-05/0.1356, allocations: 15.98 kB / 0.5633 GB, free: 13.88 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-06/0.1356, allocations: 3.938 kB / 0.5633 GB, free: 13.88 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.0001239/0.1357, allocations: 184.3 kB / 0.5634 GB, free: 13.69 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.1357, allocations: 15.91 kB / 0.5635 GB, free: 13.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.161e-05/0.1358, allocations: 25.33 kB / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1358, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1358, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-06/0.1358, allocations: 0 / 0.5635 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.1367, allocations: 0.5069 MB / 0.564 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.1367, allocations: 3.984 kB / 0.564 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.1369, allocations: 36 kB / 0.564 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.1369, allocations: 7.922 kB / 0.564 GB, free: 13.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1369, allocations: 4 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1369, allocations: 3.938 kB / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1369, allocations: 0 / 0.564 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008196/0.1377, allocations: 368 kB / 0.5644 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1378, allocations: 85.09 kB / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.1378, allocations: 0 / 0.5645 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.1381, allocations: 44.02 kB / 0.5645 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.1382, allocations: 7.984 kB / 0.5645 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1382, allocations: 4 kB / 0.5645 GB, free: 12.48 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.749e-05/0.1383, allocations: 120.9 kB / 0.5646 GB, free: 12.37 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1383, allocations: 0 / 0.5646 GB, free: 12.37 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.1386, allocations: 36 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.001118/0.1397, allocations: 0.8851 MB / 0.5655 GB, free: 11.42 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006244/0.1403, allocations: 199.7 kB / 0.5657 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1403, allocations: 0 / 0.5657 GB, free: 11.22 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002443/0.1406, allocations: 75.92 kB / 0.5658 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1409, allocations: 37.17 kB / 0.5658 GB, free: 11.12 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002898/0.1438, allocations: 1.951 MB / 0.5677 GB, free: 9.082 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000361/0.1442, allocations: 0.7085 MB / 0.5684 GB, free: 8.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 8.136e-05/0.1443, allocations: 16.88 kB / 0.5684 GB, free: 8.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.1444, allocations: 39.42 kB / 0.5685 GB, free: 8.289 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1444, allocations: 0 / 0.5685 GB, free: 8.289 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/0.1661, allocations: 3.898 MB / 0.5723 GB, free: 4.465 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.079, allocations: 13.81 kB / 0.5723 GB, free: 4.453 MB / 430.1 MB " [Timeout remaining time 652] (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/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.767824638052844] 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.200135760998819 8.213790713 8.084407706 Calling exit ...