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.00168/0.00168, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002387/0.002387, allocations: 215.9 kB / 22.99 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.623/1.623, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.04481/0.04481, allocations: 8.558 MB / 321.7 MB, free: 10.4 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.002153/0.002153, allocations: 71.89 kB / 448.1 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1393, allocations: 55.43 MB / 0.4917 GB, free: 7.609 MB / 366.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestLimTorque): time 0.003988/0.1432, allocations: 1.854 MB / 0.4936 GB, free: 5.746 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003085/0.1463, allocations: 1.691 MB / 0.4952 GB, free: 4.047 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001163/0.1464, allocations: 4 kB / 0.4952 GB, free: 4.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003663/0.1468, allocations: 107.5 kB / 0.4953 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005293/0.1473, allocations: 171.3 kB / 0.4955 GB, free: 3.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.1479, allocations: 181.9 kB / 0.4956 GB, free: 3.594 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004426/0.1483, allocations: 291.3 kB / 0.4959 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1485, allocations: 28.58 kB / 0.496 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.1487, allocations: 123.5 kB / 0.4961 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.149, allocations: 139.5 kB / 0.4962 GB, free: 3.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.98e-05/0.149, allocations: 16 kB / 0.4962 GB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1493, allocations: 112 kB / 0.4963 GB, free: 2.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1494, allocations: 59.7 kB / 0.4964 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.1495, allocations: 83.53 kB / 0.4965 GB, free: 2.754 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.15, allocations: 338.6 kB / 0.4968 GB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.15, allocations: 0 / 0.4968 GB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.15, allocations: 4 kB / 0.4968 GB, free: 2.418 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.15, allocations: 0 / 0.4968 GB, free: 2.418 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.000893/0.1509, allocations: 0.5622 MB / 0.4973 GB, free: 1.812 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1509, allocations: 8.031 kB / 0.4973 GB, free: 1.805 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.856e-05/0.151, allocations: 32.75 kB / 0.4974 GB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.1514, allocations: 226.6 kB / 0.4976 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.1514, allocations: 8.375 kB / 0.4976 GB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.1514, allocations: 16.12 kB / 0.4976 GB, free: 1.504 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004107/0.1518, allocations: 236.4 kB / 0.4978 GB, free: 1.242 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.1519, allocations: 3.938 kB / 0.4978 GB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.1519, allocations: 8 kB / 0.4979 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.1519, allocations: 0 / 0.4979 GB, free: 1.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003284/0.1522, allocations: 159.3 kB / 0.498 GB, free: 1.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009873/0.1532, allocations: 440 kB / 0.4984 GB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002831/0.1535, allocations: 149.9 kB / 0.4986 GB, free: 444 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001992/0.1537, allocations: 116.2 kB / 0.4987 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.1537, allocations: 4 kB / 0.4987 GB, free: 308 kB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1538, allocations: 30.56 kB / 0.4987 GB, free: 268 kB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.663e-06/0.1538, allocations: 4 kB / 0.4987 GB, free: 264 kB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008245/0.1546, allocations: 428 kB / 0.4991 GB, free: 15.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.1547, allocations: 140.4 kB / 0.4993 GB, free: 15.62 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004886/0.1552, allocations: 384.5 kB / 0.4996 GB, free: 15.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.1552, allocations: 29.7 kB / 0.4996 GB, free: 15.21 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.1553, allocations: 160 kB / 0.4998 GB, free: 15.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.1554, allocations: 31.73 kB / 0.4998 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/0.1555, allocations: 37.67 kB / 0.4999 GB, free: 14.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1557, allocations: 338.8 kB / 0.5002 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.1559, allocations: 115.4 kB / 0.5003 GB, free: 14.51 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.1561, allocations: 158.6 kB / 0.5005 GB, free: 14.33 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003728/0.1565, allocations: 228 kB / 0.5007 GB, free: 14.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1565, allocations: 3.938 kB / 0.5007 GB, free: 14.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005242/0.157, allocations: 312.2 kB / 0.501 GB, free: 13.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.1571, allocations: 71.42 kB / 0.501 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.1571, allocations: 0 / 0.501 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1571, allocations: 0 / 0.501 GB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.1572, allocations: 15.98 kB / 0.5011 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.1572, allocations: 3.938 kB / 0.5011 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.1574, allocations: 35.92 kB / 0.5011 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.598e-05/0.1574, allocations: 4 kB / 0.5011 GB, free: 13.6 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.0002222/0.1576, allocations: 217.2 kB / 0.5013 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.1577, allocations: 27.86 kB / 0.5013 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005954/0.1583, allocations: 334.2 kB / 0.5016 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.264e-06/0.1583, allocations: 3.984 kB / 0.5017 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1583, allocations: 3.938 kB / 0.5017 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1583, allocations: 0 / 0.5017 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/0.1586, allocations: 201.2 kB / 0.5018 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1586, allocations: 0 / 0.5018 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.479e-05/0.1587, allocations: 19.98 kB / 0.5019 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1587, allocations: 4 kB / 0.5019 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.772e-05/0.1587, allocations: 4 kB / 0.5019 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.1587, allocations: 0 / 0.5019 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1587, allocations: 3.938 kB / 0.5019 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.1593, allocations: 422 kB / 0.5023 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.1594, allocations: 39.83 kB / 0.5023 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.88e-05/0.1594, allocations: 4 kB / 0.5023 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1597, allocations: 35.97 kB / 0.5024 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.1598, allocations: 23.91 kB / 0.5024 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.1598, allocations: 11.92 kB / 0.5024 GB, free: 12.14 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003378/0.1601, allocations: 287 kB / 0.5027 GB, free: 11.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1601, allocations: 0 / 0.5027 GB, free: 11.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003908/0.1605, allocations: 75.73 kB / 0.5027 GB, free: 11.79 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.001733/0.1622, allocations: 483.3 kB / 0.5032 GB, free: 11.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006169/0.1629, allocations: 357.5 kB / 0.5035 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1629, allocations: 0 / 0.5035 GB, free: 11.1 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.1632, allocations: 242.1 kB / 0.5038 GB, free: 10.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.1636, allocations: 47.12 kB / 0.5038 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.1647, allocations: 0.5697 MB / 0.5044 GB, free: 10.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.1649, allocations: 148.4 kB / 0.5045 GB, free: 10.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.1649, allocations: 19.44 kB / 0.5045 GB, free: 9.992 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.1649, allocations: 0 / 0.5045 GB, free: 9.992 MB / 382.1 MB Notification: Performance of Templates: time 0.007229/0.1722, allocations: 3.796 MB / 0.5082 GB, free: 6.199 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: 8.166484279092401] Failed to read output from testmodel.py, exit status != 0: 0.18046151706948876 0.46170925500000004 0.30877161000000003 Calling exit ...