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.001229/0.001229, allocations: 107.7 kB / 18.68 MB, free: 3.168 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.005416/0.005416, allocations: 197.5 kB / 21.93 MB, free: 5.637 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.421/1.421, allocations: 225.6 MB / 250.6 MB, free: 13.39 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.04261/0.04261, allocations: 8.542 MB / 314.3 MB, free: 436 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/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.001961/0.001961, allocations: 63.91 kB / 438.1 MB, free: 13.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1036, allocations: 54.2 MB / 492.3 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.00342/0.107, allocations: 1.899 MB / 494.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1092, allocations: 1.555 MB / 495.8 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.1093, allocations: 4 kB / 495.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1096, allocations: 107.6 kB / 495.9 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003057/0.1099, allocations: 119.4 kB / 496 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1103, allocations: 181.7 kB / 496.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.1107, allocations: 259.4 kB / 496.4 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1108, allocations: 24.3 kB / 496.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001905/0.111, allocations: 111.6 kB / 496.6 MB, free: 2.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1113, allocations: 127.5 kB / 496.7 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.102e-05/0.1113, allocations: 20 kB / 496.7 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.1114, allocations: 83.83 kB / 496.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.765e-05/0.1115, allocations: 47.78 kB / 496.8 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.1116, allocations: 103.3 kB / 496.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003839/0.112, allocations: 286.8 kB / 497.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.112, allocations: 0 / 497.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.112, allocations: 0 / 497.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.112, allocations: 0 / 497.2 MB, free: 1.812 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.0008428/0.1129, allocations: 0.6066 MB / 497.8 MB, free: 1.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.1129, allocations: 11.89 kB / 497.8 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.113, allocations: 32.78 kB / 497.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.1133, allocations: 279.7 kB / 498.1 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.1134, allocations: 4.375 kB / 498.2 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1134, allocations: 20.12 kB / 498.2 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.1137, allocations: 146 kB / 498.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.1137, allocations: 0 / 498.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1138, allocations: 19.92 kB / 498.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1138, allocations: 0 / 498.3 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.114, allocations: 103.8 kB / 498.4 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.1151, allocations: 0.4965 MB / 498.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.1153, allocations: 90.47 kB / 499 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.1155, allocations: 60.83 kB / 499.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.1155, allocations: 3.984 kB / 499.1 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.1155, allocations: 38.56 kB / 499.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.303e-06/0.1155, allocations: 0 / 499.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007169/0.1162, allocations: 305 kB / 499.4 MB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.863e-05/0.1163, allocations: 132.5 kB / 499.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004186/0.1167, allocations: 370.9 kB / 499.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.1168, allocations: 29.7 kB / 499.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.1169, allocations: 156 kB / 0.4884 GB, free: 14.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.1169, allocations: 31.75 kB / 0.4884 GB, free: 14.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.117, allocations: 33.7 kB / 0.4884 GB, free: 14.62 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.1172, allocations: 334.8 kB / 0.4888 GB, free: 14.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1173, allocations: 51.97 kB / 0.4888 GB, free: 14.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.1175, allocations: 73.89 kB / 0.4889 GB, free: 14.16 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003634/0.1178, allocations: 235.7 kB / 0.4891 GB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.1178, allocations: 0 / 0.4891 GB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004522/0.1183, allocations: 244.9 kB / 0.4893 GB, free: 13.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.846e-05/0.1184, allocations: 67.39 kB / 0.4894 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1184, allocations: 3.938 kB / 0.4894 GB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.1184, allocations: 4 kB / 0.4894 GB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.1185, allocations: 19.92 kB / 0.4894 GB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.1185, allocations: 4 kB / 0.4894 GB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.1187, allocations: 31.92 kB / 0.4895 GB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.662e-05/0.1187, allocations: 4 kB / 0.4895 GB, free: 13.5 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.0002047/0.1189, allocations: 226.5 kB / 0.4897 GB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.003e-05/0.119, allocations: 27.86 kB / 0.4897 GB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005445/0.1195, allocations: 274.7 kB / 0.49 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.1195, allocations: 3.938 kB / 0.49 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1195, allocations: 4 kB / 0.49 GB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001195/0.1197, allocations: 112.9 kB / 0.4901 GB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.447e-05/0.1197, allocations: 7.938 kB / 0.4901 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.1199, allocations: 31.97 kB / 0.4901 GB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.859e-05/0.12, allocations: 19.98 kB / 0.4901 GB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005847/0.1206, allocations: 431.1 kB / 0.4905 GB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005685/0.1212, allocations: 437.9 kB / 0.491 GB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001819/0.1213, allocations: 67.95 kB / 0.491 GB, free: 11.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002917/0.1216, allocations: 273.9 kB / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of Backend: time 1.9e-07/0.1216, allocations: 0 / 0.4913 GB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.1241, allocations: 0.6791 MB / 0.492 GB, free: 10.99 MB / 366.1 MB Notification: Performance of SimCode: time 0.001124/0.1252, allocations: 0.9707 MB / 0.4929 GB, free: 9.953 MB / 366.1 MB Notification: Performance of Templates: time 0.007875/0.1331, allocations: 3.762 MB / 0.4966 GB, free: 6.207 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.615605634986423] Failed to read output from testmodel.py, exit status != 0: 0.13992219103965908 0.318916921 0.20433146900000002 Calling exit ...