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.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.001236/0.001236, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.00157/0.00157, allocations: 217.1 kB / 23.01 MB, free: 4.609 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.406/1.406, allocations: 230.6 MB / 256.8 MB, free: 8.059 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04161/0.04161, allocations: 8.551 MB / 321.7 MB, free: 10.63 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_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: 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.001985/0.001985, allocations: 63.89 kB / 448.2 MB, free: 15.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1089, allocations: 55.41 MB / 0.4918 GB, free: 7.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003574/0.1124, allocations: 1.929 MB / 0.4937 GB, free: 6.039 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002803/0.1152, allocations: 1.749 MB / 0.4954 GB, free: 4.281 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.646e-05/0.1153, allocations: 0 / 0.4954 GB, free: 4.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000324/0.1156, allocations: 119.5 kB / 0.4955 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004467/0.1161, allocations: 171.3 kB / 0.4957 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.1165, allocations: 183.5 kB / 0.4959 GB, free: 3.82 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.1169, allocations: 287.3 kB / 0.4961 GB, free: 3.539 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.117, allocations: 24.58 kB / 0.4961 GB, free: 3.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002333/0.1173, allocations: 127.5 kB / 0.4963 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002405/0.1175, allocations: 139.5 kB / 0.4964 GB, free: 3.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.1176, allocations: 24 kB / 0.4964 GB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002041/0.1178, allocations: 127.9 kB / 0.4965 GB, free: 3.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.503e-05/0.1178, allocations: 51.78 kB / 0.4966 GB, free: 3.051 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.118, allocations: 111.3 kB / 0.4967 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004303/0.1184, allocations: 334.7 kB / 0.497 GB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1184, allocations: 0 / 0.497 GB, free: 2.613 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1184, allocations: 0 / 0.497 GB, free: 2.613 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.1184, allocations: 3.938 kB / 0.497 GB, free: 2.609 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.0008869/0.1193, allocations: 0.5622 MB / 0.4976 GB, free: 2.004 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1193, allocations: 16.03 kB / 0.4976 GB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.1194, allocations: 32.75 kB / 0.4976 GB, free: 1.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.1198, allocations: 222.6 kB / 0.4978 GB, free: 1.715 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1198, allocations: 8.375 kB / 0.4978 GB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.056e-05/0.1198, allocations: 16.12 kB / 0.4979 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.1201, allocations: 147.3 kB / 0.498 GB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.1201, allocations: 3.984 kB / 0.498 GB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1202, allocations: 8 kB / 0.498 GB, free: 1.523 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1202, allocations: 4 kB / 0.498 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1205, allocations: 95.92 kB / 0.4981 GB, free: 1.426 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1215, allocations: 495.3 kB / 0.4986 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.1218, allocations: 86.53 kB / 0.4987 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.1219, allocations: 68.84 kB / 0.4987 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.1219, allocations: 0 / 0.4987 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.122, allocations: 38.56 kB / 0.4988 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 9.72e-07/0.122, allocations: 0 / 0.4988 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009073/0.1229, allocations: 309.1 kB / 0.4991 GB, free: 376 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.288e-05/0.123, allocations: 132.6 kB / 0.4992 GB, free: 212 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004777/0.1234, allocations: 396.5 kB / 0.4996 GB, free: 15.81 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.1235, allocations: 25.7 kB / 0.4996 GB, free: 15.78 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001236/0.1236, allocations: 168 kB / 0.4997 GB, free: 15.61 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.1236, allocations: 31.75 kB / 0.4998 GB, free: 15.58 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.33e-05/0.1237, allocations: 37.66 kB / 0.4998 GB, free: 15.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1239, allocations: 338.8 kB / 0.5001 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000148/0.124, allocations: 47.97 kB / 0.5002 GB, free: 15.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.1242, allocations: 73.67 kB / 0.5003 GB, free: 15.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.1246, allocations: 231.6 kB / 0.5005 GB, free: 14.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1246, allocations: 0 / 0.5005 GB, free: 14.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004418/0.125, allocations: 248.9 kB / 0.5007 GB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.1251, allocations: 63.39 kB / 0.5008 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1251, allocations: 0 / 0.5008 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.1251, allocations: 3.938 kB / 0.5008 GB, free: 14.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.1252, allocations: 19.98 kB / 0.5008 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1252, allocations: 3.938 kB / 0.5008 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.1254, allocations: 35.92 kB / 0.5008 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.1254, allocations: 8 kB / 0.5008 GB, free: 14.41 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.0002045/0.1256, allocations: 217.2 kB / 0.501 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.344e-05/0.1257, allocations: 27.86 kB / 0.5011 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005241/0.1262, allocations: 282.8 kB / 0.5013 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1262, allocations: 3.938 kB / 0.5013 GB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1262, allocations: 4 kB / 0.5013 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1262, allocations: 0 / 0.5013 GB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003083/0.1265, allocations: 256.5 kB / 0.5016 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1265, allocations: 0 / 0.5016 GB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-05/0.1266, allocations: 15.98 kB / 0.5016 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1266, allocations: 3.938 kB / 0.5016 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.926e-05/0.1266, allocations: 7.984 kB / 0.5016 GB, free: 13.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.271e-06/0.1266, allocations: 11.94 kB / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1266, allocations: 0 / 0.5016 GB, free: 13.51 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005258/0.1272, allocations: 358.6 kB / 0.502 GB, free: 13.13 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1273, allocations: 39.83 kB / 0.502 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.1273, allocations: 8 kB / 0.502 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.1276, allocations: 35.91 kB / 0.5021 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.1276, allocations: 11.98 kB / 0.5021 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.1277, allocations: 8 kB / 0.5021 GB, free: 13.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003714/0.128, allocations: 291 kB / 0.5024 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.128, allocations: 0 / 0.5024 GB, free: 12.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003367/0.1284, allocations: 63.88 kB / 0.5024 GB, free: 12.68 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.001553/0.1299, allocations: 459.8 kB / 0.5029 GB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004758/0.1304, allocations: 238.7 kB / 0.5031 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.1304, allocations: 0 / 0.5031 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002454/0.1306, allocations: 182.7 kB / 0.5033 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000434/0.1311, allocations: 52.5 kB / 0.5033 GB, free: 11.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009809/0.1321, allocations: 0.5116 MB / 0.5038 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004348/0.1325, allocations: 0.759 MB / 0.5045 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.928e-05/0.1325, allocations: 23.42 kB / 0.5046 GB, free: 10.53 MB / 382.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1325, allocations: 0 / 0.5046 GB, free: 10.53 MB / 382.1 MB Notification: Performance of Templates: time 0.006357/0.1389, allocations: 3.724 MB / 0.5082 GB, free: 6.812 MB / 382.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: 7.376992370001972] Failed to read output from testmodel.py, exit status != 0: 0.14668629504740238 0.327222263 0.206211098 Calling exit ...