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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001396/0.001396, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 186.3 kB / 22.22 MB, free: 5.102 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04207/0.04207, allocations: 8.554 MB / 314.8 MB, free: 168 kB / 238.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-main/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00254/0.00254, allocations: 67.89 kB / 438.9 MB, free: 12.2 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1168, allocations: 54.25 MB / 493.2 MB, free: 5.855 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.004384/0.1212, allocations: 1.89 MB / 495.1 MB, free: 3.961 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002881/0.1241, allocations: 1.578 MB / 496.6 MB, free: 2.375 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.1242, allocations: 4 kB / 496.6 MB, free: 2.371 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003724/0.1246, allocations: 103.6 kB / 496.7 MB, free: 2.27 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.125, allocations: 119.4 kB / 496.9 MB, free: 2.152 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000538/0.1256, allocations: 181.9 kB / 497 MB, free: 1.977 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004853/0.126, allocations: 271.3 kB / 497.3 MB, free: 1.711 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.1262, allocations: 24.59 kB / 497.3 MB, free: 1.684 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002535/0.1264, allocations: 107.6 kB / 497.4 MB, free: 1.578 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003281/0.1267, allocations: 139.4 kB / 497.6 MB, free: 1.441 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.079e-05/0.1268, allocations: 23.94 kB / 497.6 MB, free: 1.418 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.127, allocations: 75.95 kB / 497.7 MB, free: 1.344 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.975e-05/0.1271, allocations: 47.78 kB / 497.7 MB, free: 1.297 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.1272, allocations: 107.3 kB / 497.8 MB, free: 1.191 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004509/0.1277, allocations: 274.8 kB / 498.1 MB, free: 0.9219 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.1277, allocations: 4 kB / 498.1 MB, free: 0.918 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.342e-06/0.1277, allocations: 0 / 498.1 MB, free: 0.918 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.196e-06/0.1277, allocations: 0 / 498.1 MB, free: 0.918 MB / 350.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.0009382/0.1286, allocations: 0.5429 MB / 498.6 MB, free: 340 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.1286, allocations: 8.031 kB / 498.6 MB, free: 332 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.1287, allocations: 28.8 kB / 498.7 MB, free: 304 kB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.1291, allocations: 218.6 kB / 498.9 MB, free: 60 kB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.568e-05/0.1291, allocations: 8.375 kB / 498.9 MB, free: 52 kB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.1291, allocations: 16.12 kB / 498.9 MB, free: 36 kB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.1295, allocations: 155.3 kB / 499.1 MB, free: 15.87 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1295, allocations: 0 / 499.1 MB, free: 15.87 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.1296, allocations: 4 kB / 499.1 MB, free: 15.87 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.1296, allocations: 4 kB / 499.1 MB, free: 15.86 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000309/0.1299, allocations: 99.83 kB / 499.2 MB, free: 15.77 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.131, allocations: 487.4 kB / 499.6 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.1312, allocations: 86.55 kB / 499.7 MB, free: 15.15 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1314, allocations: 60.81 kB / 499.8 MB, free: 15.09 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.1314, allocations: 4 kB / 499.8 MB, free: 15.09 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1314, allocations: 38.59 kB / 499.8 MB, free: 15.04 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.213e-06/0.1314, allocations: 0 / 499.8 MB, free: 15.04 MB / 366.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0007311/0.1322, allocations: 301 kB / 0.4884 GB, free: 14.73 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.512e-05/0.1323, allocations: 136.5 kB / 0.4885 GB, free: 14.56 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004699/0.1327, allocations: 376.2 kB / 0.4889 GB, free: 14.18 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.96e-05/0.1328, allocations: 29.7 kB / 0.4889 GB, free: 14.15 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.1329, allocations: 152 kB / 0.4891 GB, free: 14 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.133, allocations: 39.8 kB / 0.4891 GB, free: 13.96 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.75e-05/0.133, allocations: 29.72 kB / 0.4891 GB, free: 13.92 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001744/0.1332, allocations: 334.8 kB / 0.4895 GB, free: 13.59 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.1334, allocations: 52.25 kB / 0.4895 GB, free: 13.54 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1336, allocations: 77.61 kB / 0.4896 GB, free: 13.45 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/0.1339, allocations: 231.5 kB / 0.4898 GB, free: 13.2 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1339, allocations: 0 / 0.4898 GB, free: 13.2 MB / 366.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005063/0.1344, allocations: 244.8 kB / 0.49 GB, free: 12.94 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.1345, allocations: 67.39 kB / 0.4901 GB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.1345, allocations: 0 / 0.4901 GB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1345, allocations: 11.97 kB / 0.4901 GB, free: 12.85 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.1346, allocations: 11.98 kB / 0.4901 GB, free: 12.84 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.1347, allocations: 4 kB / 0.4901 GB, free: 12.84 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1349, allocations: 31.92 kB / 0.4901 GB, free: 12.8 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.1349, allocations: 4 kB / 0.4902 GB, free: 12.8 MB / 366.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.0002281/0.1351, allocations: 221.2 kB / 0.4904 GB, free: 12.56 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.188e-05/0.1352, allocations: 27.86 kB / 0.4904 GB, free: 12.54 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.1358, allocations: 266.8 kB / 0.4906 GB, free: 12.25 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.1358, allocations: 7.938 kB / 0.4907 GB, free: 12.24 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.317e-06/0.1358, allocations: 4 kB / 0.4907 GB, free: 12.24 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1358, allocations: 3.938 kB / 0.4907 GB, free: 12.23 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.1362, allocations: 252.5 kB / 0.4909 GB, free: 11.95 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1362, allocations: 0 / 0.4909 GB, free: 11.95 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.92e-05/0.1363, allocations: 15.98 kB / 0.4909 GB, free: 11.93 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.1363, allocations: 4.094 kB / 0.4909 GB, free: 11.93 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.1363, allocations: 11.94 kB / 0.4909 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1363, allocations: 3.938 kB / 0.4909 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1363, allocations: 0 / 0.4909 GB, free: 11.91 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1369, allocations: 354.7 kB / 0.4913 GB, free: 11.54 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.098e-05/0.137, allocations: 39.83 kB / 0.4913 GB, free: 11.5 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.016e-05/0.137, allocations: 4 kB / 0.4913 GB, free: 11.49 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.1373, allocations: 35.91 kB / 0.4913 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.79e-05/0.1374, allocations: 19.97 kB / 0.4914 GB, free: 11.44 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.1374, allocations: 8 kB / 0.4914 GB, free: 11.43 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0003333/0.1377, allocations: 271 kB / 0.4916 GB, free: 11.16 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1377, allocations: 0 / 0.4916 GB, free: 11.16 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0003237/0.138, allocations: 55.89 kB / 0.4917 GB, free: 11.11 MB / 366.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.001401/0.1394, allocations: 392.8 kB / 0.4921 GB, free: 10.86 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005203/0.14, allocations: 242.7 kB / 0.4923 GB, free: 10.6 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.14, allocations: 0 / 0.4923 GB, free: 10.6 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000281/0.1402, allocations: 178.8 kB / 0.4925 GB, free: 10.4 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.1407, allocations: 48.34 kB / 0.4925 GB, free: 10.36 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009918/0.1417, allocations: 481.7 kB / 0.493 GB, free: 9.855 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004823/0.1422, allocations: 0.7435 MB / 0.4937 GB, free: 9.082 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 8.963e-05/0.1423, allocations: 21.06 kB / 0.4937 GB, free: 9.062 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.942e-05/0.1423, allocations: 27.42 kB / 0.4937 GB, free: 9.035 MB / 366.1 MB
Notification: Performance of SimCode: time 4.51e-07/0.1424, allocations: 4 kB / 0.4937 GB, free: 9.031 MB / 366.1 MB
Notification: Performance of Templates: time 0.008436/0.1508, allocations: 3.365 MB / 0.497 GB, free: 5.684 MB / 366.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: 4.746038923971355]
Failed to read output from testmodel.py, exit status != 0:
0.15983991790562868 0.17507096999999994 0.044088056
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f92d9e1d7b0>