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.001805/0.001805, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.002283/0.002283, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.509/1.509, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.2287/0.2287, allocations: 46.89 MB / 357.4 MB, free: 10.52 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.002301/0.002301, allocations: 87.84 kB / 0.4912 GB, free: 8.555 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1266, allocations: 65.98 MB / 0.5556 GB, free: 6.445 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002943/0.1296, allocations: 1.692 MB / 0.5573 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.1308, allocations: 0.6818 MB / 0.558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.1309, allocations: 0 / 0.558 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.1309, allocations: 7.875 kB / 0.558 GB, free: 4.043 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.1311, allocations: 19.8 kB / 0.558 GB, free: 4.023 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.1315, allocations: 155.7 kB / 0.5581 GB, free: 3.871 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.1317, allocations: 147.7 kB / 0.5583 GB, free: 3.727 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1319, allocations: 24.89 kB / 0.5583 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.132, allocations: 75.75 kB / 0.5584 GB, free: 3.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1322, allocations: 71.67 kB / 0.5584 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.089e-05/0.1322, allocations: 12 kB / 0.5585 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.16e-05/0.1322, allocations: 16 kB / 0.5585 GB, free: 3.531 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.793e-05/0.1323, allocations: 35.84 kB / 0.5585 GB, free: 3.496 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.1323, allocations: 63.64 kB / 0.5586 GB, free: 3.434 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1326, allocations: 135.5 kB / 0.5587 GB, free: 3.301 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1326, allocations: 4 kB / 0.5587 GB, free: 3.297 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1326, allocations: 3.938 kB / 0.5587 GB, free: 3.293 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.214e-06/0.1326, allocations: 4 kB / 0.5587 GB, free: 3.289 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.0006889/0.1333, allocations: 454.8 kB / 0.5591 GB, free: 2.797 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.1333, allocations: 19.95 kB / 0.5592 GB, free: 2.777 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.1334, allocations: 34.75 kB / 0.5592 GB, free: 2.734 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.1335, allocations: 32.83 kB / 0.5592 GB, free: 2.703 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000322/0.1339, allocations: 216.2 kB / 0.5594 GB, free: 2.453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1339, allocations: 4.375 kB / 0.5594 GB, free: 2.449 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.1339, allocations: 8.375 kB / 0.5594 GB, free: 2.441 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1343, allocations: 180.2 kB / 0.5596 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.1343, allocations: 0 / 0.5596 GB, free: 2.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.1343, allocations: 4 kB / 0.5596 GB, free: 2.246 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1343, allocations: 4 kB / 0.5596 GB, free: 2.242 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.1347, allocations: 123.9 kB / 0.5597 GB, free: 2.121 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008273/0.1355, allocations: 460.2 kB / 0.5602 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005742/0.1361, allocations: 190.4 kB / 0.5604 GB, free: 1.426 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.1363, allocations: 72.8 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.1363, allocations: 8.141 kB / 0.5604 GB, free: 1.344 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.1364, allocations: 30.56 kB / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.202e-06/0.1364, allocations: 0 / 0.5605 GB, free: 1.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.001413/0.1378, allocations: 0.572 MB / 0.561 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.137e-05/0.1379, allocations: 102.8 kB / 0.5611 GB, free: 0.5547 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.138, allocations: 165.4 kB / 0.5613 GB, free: 384 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.138, allocations: 25.7 kB / 0.5613 GB, free: 352 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/0.1381, allocations: 112.1 kB / 0.5614 GB, free: 236 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.499e-05/0.1382, allocations: 39.69 kB / 0.5615 GB, free: 196 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/0.1382, allocations: 21.72 kB / 0.5615 GB, free: 168 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1384, allocations: 326.8 kB / 0.5618 GB, free: 15.84 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1386, allocations: 76.72 kB / 0.5619 GB, free: 15.76 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/0.1388, allocations: 90.52 kB / 0.5619 GB, free: 15.66 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003927/0.1392, allocations: 140.7 kB / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1392, allocations: 0 / 0.5621 GB, free: 15.52 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004731/0.1397, allocations: 189.7 kB / 0.5623 GB, free: 15.33 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.1397, allocations: 8 kB / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1397, allocations: 0 / 0.5623 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1397, allocations: 15.86 kB / 0.5623 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.1399, allocations: 35.97 kB / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1399, allocations: 0 / 0.5623 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.14, allocations: 23.97 kB / 0.5623 GB, free: 15.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.14, allocations: 3.984 kB / 0.5623 GB, free: 15.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001719/0.1402, allocations: 120.1 kB / 0.5625 GB, free: 15.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001177/0.1403, allocations: 62.55 kB / 0.5625 GB, free: 15.05 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001807/0.1405, allocations: 76.75 kB / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.61e-07/0.1405, allocations: 0 / 0.5626 GB, free: 14.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002542/0.1408, allocations: 125.5 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.546e-06/0.1408, allocations: 10.22 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.1408, allocations: 0 / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.987e-06/0.1408, allocations: 4 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.474e-05/0.1409, allocations: 19.98 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1409, allocations: 4.312 kB / 0.5627 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.294e-05/0.141, allocations: 11.98 kB / 0.5628 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.141, allocations: 0 / 0.5628 GB, free: 14.8 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.0001232/0.1411, allocations: 188.3 kB / 0.5629 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.376e-05/0.1411, allocations: 19.84 kB / 0.563 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.1412, allocations: 21.39 kB / 0.563 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.1412, allocations: 3.938 kB / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.1412, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1412, allocations: 0 / 0.563 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009219/0.1421, allocations: 0.5147 MB / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1421, allocations: 0 / 0.5635 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.1423, allocations: 31.97 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.603e-06/0.1423, allocations: 4 kB / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.1423, allocations: 0 / 0.5635 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1423, allocations: 7.969 kB / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1423, allocations: 0 / 0.5635 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007573/0.1431, allocations: 368 kB / 0.5639 GB, free: 13.56 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.425e-05/0.1431, allocations: 85.09 kB / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.1432, allocations: 0 / 0.564 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.1434, allocations: 44.02 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.1435, allocations: 7.984 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.1435, allocations: 4 kB / 0.564 GB, free: 13.4 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001014/0.1436, allocations: 120.9 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1436, allocations: 0 / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003287/0.1439, allocations: 32 kB / 0.5642 GB, free: 13.25 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.001084/0.145, allocations: 0.8965 MB / 0.565 GB, free: 12.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006163/0.1456, allocations: 200.5 kB / 0.5652 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1456, allocations: 4.062 kB / 0.5652 GB, free: 12.13 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002213/0.1458, allocations: 71.88 kB / 0.5653 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1462, allocations: 38.31 kB / 0.5653 GB, free: 12.03 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.1491, allocations: 1.939 MB / 0.5672 GB, free: 10 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000343/0.1494, allocations: 0.7124 MB / 0.5679 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.783e-05/0.1495, allocations: 16.88 kB / 0.5679 GB, free: 9.242 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.531e-05/0.1496, allocations: 43.41 kB / 0.568 GB, free: 9.199 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1496, allocations: 0 / 0.568 GB, free: 9.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02727/0.1769, allocations: 3.874 MB / 0.5718 GB, free: 5.398 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.396, allocations: 0 / 0.5718 GB, free: 5.398 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219036 --timeout=50 --tolerance=1e-06 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.340386732015759] 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.46810811618343 8.492354882 8.355379919 Calling exit ...