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.001808/0.001808, allocations: 78.95 kB / 19.76 MB, free: 2.031 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.002278/0.002278, allocations: 158.8 kB / 23.01 MB, free: 4.945 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.527/1.527, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.04083/0.04083, allocations: 6.49 MB / 266.3 MB, free: 10.23 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.002101/0.002101, allocations: 67.91 kB / 392.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1083, allocations: 55.38 MB / 448 MB, free: 3.496 MB / 414.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00363/0.1119, allocations: 1.872 MB / 449.9 MB, free: 1.617 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.1148, allocations: 1.691 MB / 451.6 MB, free: 15.91 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.1149, allocations: 4 kB / 451.6 MB, free: 15.91 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.1152, allocations: 115.5 kB / 451.7 MB, free: 15.8 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.1157, allocations: 163.3 kB / 451.9 MB, free: 15.64 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000511/0.1162, allocations: 187 kB / 452 MB, free: 15.46 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004599/0.1167, allocations: 291.2 kB / 452.3 MB, free: 15.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.1168, allocations: 20.58 kB / 452.3 MB, free: 15.15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002662/0.117, allocations: 123.5 kB / 452.5 MB, free: 15.03 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.1173, allocations: 135.5 kB / 452.6 MB, free: 14.9 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.542e-05/0.1174, allocations: 20 kB / 452.6 MB, free: 14.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002251/0.1176, allocations: 115.9 kB / 452.7 MB, free: 14.77 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.547e-05/0.1177, allocations: 51.78 kB / 452.8 MB, free: 14.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001185/0.1178, allocations: 95.39 kB / 452.9 MB, free: 14.62 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004829/0.1183, allocations: 334.7 kB / 453.2 MB, free: 14.29 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1183, allocations: 0 / 453.2 MB, free: 14.29 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1183, allocations: 0 / 453.2 MB, free: 14.29 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1183, allocations: 0 / 453.2 MB, free: 14.29 MB / 430.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.0008896/0.1192, allocations: 0.5661 MB / 453.8 MB, free: 13.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1192, allocations: 12.02 kB / 453.8 MB, free: 13.67 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.1193, allocations: 32.75 kB / 453.8 MB, free: 13.64 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.1196, allocations: 222.6 kB / 454 MB, free: 13.4 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.1197, allocations: 16.38 kB / 454 MB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.1197, allocations: 16.12 kB / 454.1 MB, free: 13.37 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004131/0.1201, allocations: 243.5 kB / 454.3 MB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.445e-06/0.1201, allocations: 0 / 454.3 MB, free: 13.1 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.03e-05/0.1201, allocations: 8 kB / 454.3 MB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1201, allocations: 4 kB / 454.3 MB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003315/0.1205, allocations: 158.6 kB / 454.5 MB, free: 12.93 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009906/0.1215, allocations: 428.1 kB / 454.9 MB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002844/0.1218, allocations: 145.9 kB / 455 MB, free: 12.31 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002049/0.122, allocations: 116.2 kB / 455.1 MB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.122, allocations: 7.984 kB / 455.1 MB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.122, allocations: 38.59 kB / 455.2 MB, free: 12.13 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.122, allocations: 0 / 455.2 MB, free: 12.13 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008597/0.1229, allocations: 428.1 kB / 455.6 MB, free: 11.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.123, allocations: 144.4 kB / 455.7 MB, free: 11.5 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004729/0.1235, allocations: 392.4 kB / 456.1 MB, free: 11.11 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.543e-05/0.1235, allocations: 29.7 kB / 456.1 MB, free: 11.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.1236, allocations: 164 kB / 456.3 MB, free: 10.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.33e-05/0.1237, allocations: 31.7 kB / 456.3 MB, free: 10.88 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.608e-05/0.1237, allocations: 33.7 kB / 456.4 MB, free: 10.84 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.1239, allocations: 338.8 kB / 456.7 MB, free: 10.5 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/0.1241, allocations: 111.4 kB / 456.8 MB, free: 10.38 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.1243, allocations: 158.8 kB / 457 MB, free: 10.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003773/0.1247, allocations: 227.6 kB / 457.2 MB, free: 9.945 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1247, allocations: 0 / 457.2 MB, free: 9.945 MB / 430.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005188/0.1252, allocations: 308.2 kB / 457.5 MB, free: 9.613 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.364e-05/0.1253, allocations: 59.41 kB / 457.5 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.1253, allocations: 0 / 457.5 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.1253, allocations: 0 / 457.5 MB, free: 9.543 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.1254, allocations: 28 kB / 457.6 MB, free: 9.516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1254, allocations: 3.938 kB / 457.6 MB, free: 9.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.1256, allocations: 39.91 kB / 457.6 MB, free: 9.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1257, allocations: 4 kB / 457.6 MB, free: 9.469 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: 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.0002048/0.1259, allocations: 213.2 kB / 457.8 MB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.1259, allocations: 31.81 kB / 457.9 MB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006118/0.1265, allocations: 342.3 kB / 458.2 MB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1265, allocations: 3.938 kB / 458.2 MB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.1266, allocations: 3.938 kB / 458.2 MB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1266, allocations: 0 / 458.2 MB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002657/0.1268, allocations: 197.2 kB / 458.4 MB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1268, allocations: 0 / 458.4 MB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.533e-05/0.1269, allocations: 15.98 kB / 458.4 MB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.1269, allocations: 0 / 458.4 MB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.1269, allocations: 8 kB / 458.4 MB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1269, allocations: 3.984 kB / 458.4 MB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.1269, allocations: 4 kB / 458.4 MB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005937/0.1275, allocations: 418 kB / 458.8 MB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.491e-05/0.1276, allocations: 43.83 kB / 458.9 MB, free: 8.082 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.1277, allocations: 7.938 kB / 458.9 MB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/0.1279, allocations: 35.95 kB / 458.9 MB, free: 8.039 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.128, allocations: 15.92 kB / 458.9 MB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.128, allocations: 12 kB / 458.9 MB, free: 8.012 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003331/0.1283, allocations: 287 kB / 459.2 MB, free: 7.73 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1283, allocations: 0 / 459.2 MB, free: 7.73 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003519/0.1287, allocations: 71.81 kB / 459.3 MB, free: 7.66 MB / 430.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.001682/0.1304, allocations: 477.9 kB / 459.8 MB, free: 7.379 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005744/0.1309, allocations: 369.4 kB / 460.1 MB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1309, allocations: 0 / 460.1 MB, free: 6.969 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002956/0.1312, allocations: 238.2 kB / 460.4 MB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004359/0.1317, allocations: 44.52 kB / 460.4 MB, free: 6.656 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009248/0.1326, allocations: 0.5405 MB / 460.9 MB, free: 6.078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.1328, allocations: 148.7 kB / 461.1 MB, free: 5.906 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.484e-05/0.1329, allocations: 25.44 kB / 461.1 MB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.263e-05/0.1329, allocations: 28.48 kB / 461.1 MB, free: 5.855 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1329, allocations: 0 / 461.1 MB, free: 5.855 MB / 430.1 MB Notification: Performance of Templates: time 0.008907/0.1418, allocations: 3.937 MB / 465.1 MB, free: 1.934 MB / 430.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 -s ida -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.5659500119509175] Failed to read output from testmodel.py, exit status != 0: 0.1503455489873886 0.165783904 0.044375094000000004 Calling exit ...