Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.00122/0.00122, allocations: 114.2 kB / 18.94 MB, free: 2.953 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.001289/0.001289, allocations: 190.6 kB / 22.23 MB, free: 5.137 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.325/1.325, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 179]
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.03906/0.03906, allocations: 8.556 MB / 314.8 MB, free: 184 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_latest_EHPTlib.MapBased.TestingModels.TestLimTorque")
translateModel(EHPTlib.MapBased.TestingModels.TestLimTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 59.91 kB / 438.9 MB, free: 12.23 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08608/0.08793, allocations: 54.26 MB / 493.2 MB, free: 5.871 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003334/0.09127, allocations: 1.886 MB / 495.1 MB, free: 3.98 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002356/0.09362, allocations: 1.574 MB / 496.6 MB, free: 2.398 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.934e-05/0.09371, allocations: 4 kB / 496.6 MB, free: 2.395 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002772/0.09399, allocations: 111.6 kB / 496.7 MB, free: 2.285 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0002976/0.09429, allocations: 111.5 kB / 496.9 MB, free: 2.176 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004337/0.09472, allocations: 182.9 kB / 497 MB, free: 2 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003992/0.09512, allocations: 267.4 kB / 497.3 MB, free: 1.738 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.09522, allocations: 28.56 kB / 497.3 MB, free: 1.707 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.09543, allocations: 111.6 kB / 497.4 MB, free: 1.598 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002684/0.0957, allocations: 139.4 kB / 497.6 MB, free: 1.461 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.761e-05/0.09574, allocations: 16 kB / 497.6 MB, free: 1.445 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.09589, allocations: 75.97 kB / 497.7 MB, free: 1.371 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 7.566e-05/0.09597, allocations: 51.77 kB / 497.7 MB, free: 1.32 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.09607, allocations: 103.4 kB / 497.8 MB, free: 1.219 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.09643, allocations: 274.8 kB / 498.1 MB, free: 0.9492 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.09643, allocations: 3.938 kB / 498.1 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of FrontEnd: time 9.72e-07/0.09643, allocations: 0 / 498.1 MB, free: 0.9453 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 1.157e-05/0.09645, allocations: 0 / 498.1 MB, free: 0.9453 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.0007824/0.09723, allocations: 0.5468 MB / 498.6 MB, free: 364 kB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.09726, allocations: 12.03 kB / 498.6 MB, free: 352 kB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.09732, allocations: 28.8 kB / 498.7 MB, free: 324 kB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002932/0.09762, allocations: 214.6 kB / 498.9 MB, free: 84 kB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.09763, allocations: 4.375 kB / 498.9 MB, free: 80 kB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.09766, allocations: 16.12 kB / 498.9 MB, free: 64 kB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003336/0.09799, allocations: 150.5 kB / 499 MB, free: 15.91 MB / 366.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.098, allocations: 4 kB / 499.1 MB, free: 15.9 MB / 366.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.09802, allocations: 11.98 kB / 499.1 MB, free: 15.89 MB / 366.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.09804, allocations: 7.984 kB / 499.1 MB, free: 15.88 MB / 366.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000259/0.0983, allocations: 95.84 kB / 499.2 MB, free: 15.79 MB / 366.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009408/0.09924, allocations: 487.4 kB / 499.6 MB, free: 15.27 MB / 366.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002156/0.09945, allocations: 86.53 kB / 499.7 MB, free: 15.18 MB / 366.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000149/0.0996, allocations: 60.81 kB / 499.8 MB, free: 15.11 MB / 366.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.09963, allocations: 12 kB / 499.8 MB, free: 15.1 MB / 366.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.09967, allocations: 34.59 kB / 499.8 MB, free: 15.06 MB / 366.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.09967, allocations: 0 / 499.8 MB, free: 15.06 MB / 366.1 MB
Notification: Performance of matching and sorting (n=10): time 0.0006449/0.1003, allocations: 301 kB / 0.4884 GB, free: 14.75 MB / 366.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.381e-05/0.1004, allocations: 132.5 kB / 0.4885 GB, free: 14.59 MB / 366.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.1008, allocations: 380.1 kB / 0.4889 GB, free: 14.2 MB / 366.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.1008, allocations: 29.7 kB / 0.4889 GB, free: 14.17 MB / 366.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1009, allocations: 152 kB / 0.4891 GB, free: 14.02 MB / 366.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.101, allocations: 31.75 kB / 0.4891 GB, free: 13.98 MB / 366.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.447e-05/0.101, allocations: 33.7 kB / 0.4891 GB, free: 13.95 MB / 366.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001563/0.1012, allocations: 338.8 kB / 0.4895 GB, free: 13.61 MB / 366.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.1013, allocations: 47.97 kB / 0.4895 GB, free: 13.56 MB / 366.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001539/0.1015, allocations: 77.89 kB / 0.4896 GB, free: 13.48 MB / 366.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003421/0.1018, allocations: 235.6 kB / 0.4898 GB, free: 13.22 MB / 366.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1018, allocations: 0 / 0.4898 GB, free: 13.22 MB / 366.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.000427/0.1023, allocations: 248.9 kB / 0.49 GB, free: 12.96 MB / 366.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.305e-05/0.1023, allocations: 63.39 kB / 0.4901 GB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.1023, allocations: 0 / 0.4901 GB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1023, allocations: 7.969 kB / 0.4901 GB, free: 12.88 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.802e-05/0.1024, allocations: 15.98 kB / 0.4901 GB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.1024, allocations: 0 / 0.4901 GB, free: 12.86 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.1027, allocations: 35.92 kB / 0.4902 GB, free: 12.82 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1027, allocations: 8 kB / 0.4902 GB, free: 12.82 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.0001807/0.1028, allocations: 213.2 kB / 0.4904 GB, free: 12.59 MB / 366.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.786e-05/0.1029, allocations: 31.86 kB / 0.4904 GB, free: 12.55 MB / 366.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004893/0.1034, allocations: 270.8 kB / 0.4906 GB, free: 12.27 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1034, allocations: 3.938 kB / 0.4907 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1034, allocations: 0 / 0.4907 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1034, allocations: 4 kB / 0.4907 GB, free: 12.26 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002755/0.1037, allocations: 248.5 kB / 0.4909 GB, free: 11.97 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1037, allocations: 0 / 0.4909 GB, free: 11.97 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.581e-05/0.1038, allocations: 15.98 kB / 0.4909 GB, free: 11.96 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1038, allocations: 0 / 0.4909 GB, free: 11.96 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.1038, allocations: 11.98 kB / 0.4909 GB, free: 11.95 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1038, allocations: 7.938 kB / 0.4909 GB, free: 11.94 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1038, allocations: 0 / 0.4909 GB, free: 11.94 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005013/0.1043, allocations: 358.6 kB / 0.4913 GB, free: 11.56 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 7.812e-05/0.1044, allocations: 39.78 kB / 0.4913 GB, free: 11.52 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.1044, allocations: 12 kB / 0.4913 GB, free: 11.51 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.1046, allocations: 35.91 kB / 0.4914 GB, free: 11.47 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1047, allocations: 15.98 kB / 0.4914 GB, free: 11.46 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1047, allocations: 4 kB / 0.4914 GB, free: 11.45 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0002761/0.105, allocations: 275 kB / 0.4916 GB, free: 11.18 MB / 366.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.105, allocations: 0 / 0.4916 GB, free: 11.18 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.0002779/0.1053, allocations: 51.88 kB / 0.4917 GB, free: 11.13 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.001257/0.1065, allocations: 394.8 kB / 0.4921 GB, free: 10.89 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004354/0.1069, allocations: 246.6 kB / 0.4923 GB, free: 10.62 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1069, allocations: 0 / 0.4923 GB, free: 10.62 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.1072, allocations: 178.8 kB / 0.4925 GB, free: 10.42 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.1076, allocations: 48.19 kB / 0.4925 GB, free: 10.38 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007787/0.1084, allocations: 473.7 kB / 0.493 GB, free: 9.883 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.1087, allocations: 0.7513 MB / 0.4937 GB, free: 9.102 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 7.375e-05/0.1088, allocations: 21.38 kB / 0.4937 GB, free: 9.082 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.931e-05/0.1088, allocations: 15.44 kB / 0.4937 GB, free: 9.066 MB / 366.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.1089, allocations: 4 kB / 0.4937 GB, free: 9.062 MB / 366.1 MB
Notification: Performance of Templates: time 0.007073/0.1159, allocations: 3.383 MB / 0.497 GB, free: 5.695 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.makefile [Timeout 660]
(rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque  -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestLimTorque.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.081753711216152]
Failed to read output from testmodel.py, exit status != 0:
0.12259699776768684 0.137190956 0.037865267
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa81803d7b0>