Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001526/0.001526, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 216.2 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.0436/0.0436, allocations: 8.545 MB / 321 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 71.89 kB / 447.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1232, allocations: 55.43 MB / 0.491 GB, free: 7.652 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.004236/0.1274, allocations: 1.847 MB / 0.4928 GB, free: 5.793 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1307, allocations: 1.695 MB / 0.4945 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.1309, allocations: 0 / 0.4945 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1313, allocations: 115.5 kB / 0.4946 GB, free: 3.977 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006017/0.1319, allocations: 171.3 kB / 0.4947 GB, free: 3.809 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005339/0.1324, allocations: 189.7 kB / 0.4949 GB, free: 3.629 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000512/0.1329, allocations: 287.3 kB / 0.4952 GB, free: 3.348 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000126/0.133, allocations: 16.59 kB / 0.4952 GB, free: 3.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1333, allocations: 127.5 kB / 0.4953 GB, free: 3.203 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1336, allocations: 139.4 kB / 0.4955 GB, free: 3.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.1337, allocations: 16 kB / 0.4955 GB, free: 3.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002673/0.134, allocations: 119.9 kB / 0.4956 GB, free: 2.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.1341, allocations: 55.72 kB / 0.4956 GB, free: 2.879 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001219/0.1342, allocations: 83.52 kB / 0.4957 GB, free: 2.797 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005905/0.1348, allocations: 338.6 kB / 0.496 GB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1348, allocations: 4 kB / 0.496 GB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1348, allocations: 3.938 kB / 0.496 GB, free: 2.457 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.1348, allocations: 0 / 0.496 GB, free: 2.457 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001007/0.1358, allocations: 0.5622 MB / 0.4966 GB, free: 1.852 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1359, allocations: 12.03 kB / 0.4966 GB, free: 1.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.261e-05/0.136, allocations: 32.75 kB / 0.4966 GB, free: 1.809 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.1363, allocations: 226.6 kB / 0.4969 GB, free: 1.562 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.1364, allocations: 12.38 kB / 0.4969 GB, free: 1.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.976e-05/0.1364, allocations: 16.12 kB / 0.4969 GB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004807/0.1369, allocations: 228.4 kB / 0.4971 GB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1369, allocations: 0 / 0.4971 GB, free: 1.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.348e-05/0.1369, allocations: 8 kB / 0.4971 GB, free: 1.273 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.1369, allocations: 8 kB / 0.4971 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003495/0.1373, allocations: 155.3 kB / 0.4973 GB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.1383, allocations: 432.1 kB / 0.4977 GB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002957/0.1386, allocations: 153.9 kB / 0.4978 GB, free: 488 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002132/0.1388, allocations: 120.2 kB / 0.4979 GB, free: 352 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.1388, allocations: 0 / 0.4979 GB, free: 352 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/0.1389, allocations: 38.56 kB / 0.498 GB, free: 304 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1389, allocations: 0 / 0.498 GB, free: 304 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008471/0.1397, allocations: 423.8 kB / 0.4984 GB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1398, allocations: 140.5 kB / 0.4985 GB, free: 15.67 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005351/0.1404, allocations: 384.5 kB / 0.4989 GB, free: 15.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.056e-05/0.1404, allocations: 29.7 kB / 0.4989 GB, free: 15.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.1405, allocations: 164 kB / 0.4991 GB, free: 15.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.1406, allocations: 31.75 kB / 0.4991 GB, free: 15.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.1407, allocations: 33.66 kB / 0.4991 GB, free: 15.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.1408, allocations: 338.8 kB / 0.4994 GB, free: 14.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.141, allocations: 115.4 kB / 0.4996 GB, free: 14.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/0.1413, allocations: 154.8 kB / 0.4997 GB, free: 14.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003731/0.1417, allocations: 243.8 kB / 0.4999 GB, free: 14.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.1417, allocations: 0 / 0.4999 GB, free: 14.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005183/0.1422, allocations: 304.2 kB / 0.5002 GB, free: 13.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.1422, allocations: 59.41 kB / 0.5003 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.1423, allocations: 0 / 0.5003 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.1423, allocations: 0 / 0.5003 GB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001127/0.1424, allocations: 20.02 kB / 0.5003 GB, free: 13.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.1424, allocations: 3.938 kB / 0.5003 GB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.1426, allocations: 43.91 kB / 0.5003 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1426, allocations: 4 kB / 0.5004 GB, free: 13.64 MB / 382.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: 2 (fileTxtLimits.state,fixedLimits.state) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.0002148/0.1429, allocations: 213.2 kB / 0.5006 GB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1429, allocations: 31.84 kB / 0.5006 GB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005918/0.1435, allocations: 334.2 kB / 0.5009 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.1435, allocations: 0 / 0.5009 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1435, allocations: 7.938 kB / 0.5009 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.1435, allocations: 0 / 0.5009 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1438, allocations: 197.2 kB / 0.5011 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1438, allocations: 0 / 0.5011 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.31e-05/0.1439, allocations: 15.98 kB / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1439, allocations: 0 / 0.5011 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.454e-05/0.1439, allocations: 11.98 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1439, allocations: 4 kB / 0.5011 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1439, allocations: 4 kB / 0.5011 GB, free: 12.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006276/0.1446, allocations: 429.9 kB / 0.5015 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.1447, allocations: 35.84 kB / 0.5016 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.1447, allocations: 4 kB / 0.5016 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002522/0.145, allocations: 35.95 kB / 0.5016 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.1451, allocations: 19.92 kB / 0.5016 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.394e-05/0.1451, allocations: 8 kB / 0.5016 GB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003568/0.1454, allocations: 287 kB / 0.5019 GB, free: 11.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1454, allocations: 0 / 0.5019 GB, free: 11.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003705/0.1458, allocations: 75.8 kB / 0.502 GB, free: 11.84 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (fixedLimits.state,fileTxtLimits.state) * Number of discrete states: 2 (fileTxtLimits.state,fixedLimits.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 2 * 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.001708/0.1475, allocations: 477.1 kB / 0.5024 GB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006201/0.1481, allocations: 361.5 kB / 0.5028 GB, free: 11.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.1481, allocations: 4 kB / 0.5028 GB, free: 11.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1484, allocations: 242.1 kB / 0.503 GB, free: 10.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004853/0.1489, allocations: 39.77 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.15, allocations: 0.5407 MB / 0.5036 GB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.1502, allocations: 148.4 kB / 0.5037 GB, free: 10.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.1503, allocations: 25.38 kB / 0.5038 GB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.1504, allocations: 27.42 kB / 0.5038 GB, free: 10.04 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1504, allocations: 3.938 kB / 0.5038 GB, free: 10.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01014/0.1605, allocations: 4.122 MB / 0.5078 GB, free: 5.934 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.121057791635394] Failed to read output from testmodel.py, exit status != 0: 0.1695026494562626 0.38021248300000005 0.24237217400000002 Calling exit ...