Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.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.001272/0.001272, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001417/0.001417, allocations: 197.6 kB / 22.17 MB, free: 5.211 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.453/1.453, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.04346/0.04346, allocations: 8.53 MB / 314.7 MB, free: 280 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 67.89 kB / 438.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1069, allocations: 54.2 MB / 492.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006679/0.1136, allocations: 4.479 MB / 497.3 MB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004052/0.1177, allocations: 2.22 MB / 499.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.1182, allocations: 12 kB / 499.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005362/0.1187, allocations: 158.6 kB / 499.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008253/0.1196, allocations: 230.3 kB / 499.9 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000876/0.1204, allocations: 430.3 kB / 0.4886 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001248/0.1217, allocations: 0.9468 MB / 0.4896 GB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006458/0.1223, allocations: 368.5 kB / 0.4899 GB, free: 13.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005916/0.1229, allocations: 374.7 kB / 0.4903 GB, free: 12.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007321/0.1237, allocations: 410.2 kB / 0.4907 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001799/0.1238, allocations: 108 kB / 0.4908 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002567/0.1241, allocations: 144 kB / 0.4909 GB, free: 12.26 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002742/0.1244, allocations: 243.2 kB / 0.4911 GB, free: 12.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004934/0.1249, allocations: 465.8 kB / 0.4916 GB, free: 11.56 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.1264, allocations: 1.199 MB / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.1264, allocations: 3.938 kB / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1264, allocations: 0 / 0.4927 GB, free: 10.36 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.716e-05/0.1265, allocations: 0 / 0.4927 GB, free: 10.36 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.002431/0.1289, allocations: 1.248 MB / 0.494 GB, free: 9.039 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1289, allocations: 15.89 kB / 0.494 GB, free: 9.023 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/0.1291, allocations: 104.3 kB / 0.4941 GB, free: 8.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009124/0.13, allocations: 0.5758 MB / 0.4946 GB, free: 8.305 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.187e-05/0.1301, allocations: 54.38 kB / 0.4947 GB, free: 8.25 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000121/0.1302, allocations: 84.08 kB / 0.4948 GB, free: 8.168 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.1317, allocations: 0.7361 MB / 0.4955 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.1318, allocations: 0 / 0.4955 GB, free: 7.418 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.2e-05/0.1318, allocations: 28 kB / 0.4955 GB, free: 7.391 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.631e-05/0.1319, allocations: 16 kB / 0.4955 GB, free: 7.375 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.1331, allocations: 0.5309 MB / 0.4961 GB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004208/0.1374, allocations: 2.703 MB / 0.4987 GB, free: 4.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1384, allocations: 444.3 kB / 0.4991 GB, free: 3.555 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1389, allocations: 169 kB / 0.4993 GB, free: 3.387 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/0.1389, allocations: 7.984 kB / 0.4993 GB, free: 3.379 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006424/0.1396, allocations: 271.4 kB / 0.4995 GB, free: 3.098 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.724e-06/0.1396, allocations: 0 / 0.4995 GB, free: 3.098 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001799/0.1414, allocations: 0.742 MB / 0.5003 GB, free: 2.316 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.713e-05/0.1415, allocations: 136.7 kB / 0.5004 GB, free: 2.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009536/0.1424, allocations: 0.6748 MB / 0.5011 GB, free: 1.469 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.1424, allocations: 33.7 kB / 0.5011 GB, free: 1.43 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003236/0.1428, allocations: 392.5 kB / 0.5015 GB, free: 1.039 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.1429, allocations: 123 kB / 0.5016 GB, free: 0.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.1431, allocations: 98.25 kB / 0.5017 GB, free: 0.8164 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.1433, allocations: 374.7 kB / 0.502 GB, free: 452 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.1437, allocations: 179 kB / 0.5022 GB, free: 272 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.1443, allocations: 303.2 kB / 0.5025 GB, free: 15.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/0.1455, allocations: 0.5999 MB / 0.5031 GB, free: 15.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.1455, allocations: 7.938 kB / 0.5031 GB, free: 15.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001377/0.1468, allocations: 0.6648 MB / 0.5037 GB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.1469, allocations: 97.03 kB / 0.5038 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.1469, allocations: 4 kB / 0.5038 GB, free: 14.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000152/0.1471, allocations: 20.86 kB / 0.5039 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004193/0.1475, allocations: 104.2 kB / 0.504 GB, free: 14.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1487, allocations: 1.395 MB / 0.5053 GB, free: 12.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004547/0.1492, allocations: 83.58 kB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-05/0.1492, allocations: 23.98 kB / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006671/0.1499, allocations: 357.2 kB / 0.5058 GB, free: 12.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005763/0.1504, allocations: 287.2 kB / 0.506 GB, free: 11.97 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001023/0.1515, allocations: 0.5746 MB / 0.5066 GB, free: 11.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.378e-06/0.1515, allocations: 4 kB / 0.5066 GB, free: 11.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001382/0.1529, allocations: 0.6506 MB / 0.5072 GB, free: 10.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.585e-05/0.1529, allocations: 89.11 kB / 0.5073 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1529, allocations: 4 kB / 0.5073 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.763e-05/0.153, allocations: 28.84 kB / 0.5073 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003743/0.1534, allocations: 96.16 kB / 0.5074 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001263/0.1547, allocations: 1.402 MB / 0.5088 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/0.1551, allocations: 59.81 kB / 0.5089 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.1551, allocations: 23.98 kB / 0.5089 GB, free: 8.777 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (tauRef.count,$PRE.tauRef.count,tauRef.T_start,$PRE.tauRef.T_start,twoFlanges.limTau.state,$whenCondition1,twoFlanges.constPDC.integrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002415/0.1554, allocations: 274.9 kB / 0.5092 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1555, allocations: 67.58 kB / 0.5092 GB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/0.1568, allocations: 0.5346 MB / 0.5097 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.1568, allocations: 4 kB / 0.5097 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.1568, allocations: 0 / 0.5097 GB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.1568, allocations: 3.984 kB / 0.5097 GB, free: 7.863 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.159, allocations: 1.268 MB / 0.511 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.159, allocations: 0 / 0.511 GB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000337/0.1593, allocations: 67.89 kB / 0.511 GB, free: 6.457 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.983e-05/0.1594, allocations: 24.84 kB / 0.5111 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.101e-05/0.1594, allocations: 8 kB / 0.5111 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.1606, allocations: 1.383 MB / 0.5124 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1606, allocations: 0 / 0.5124 GB, free: 4.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.1623, allocations: 0.8322 MB / 0.5132 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000175/0.1625, allocations: 152.6 kB / 0.5134 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.466e-05/0.1626, allocations: 8 kB / 0.5134 GB, free: 3.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004111/0.163, allocations: 47.95 kB / 0.5134 GB, free: 3.809 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.1631, allocations: 35.95 kB / 0.5135 GB, free: 3.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/0.1631, allocations: 12 kB / 0.5135 GB, free: 3.762 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006465/0.1638, allocations: 482.8 kB / 0.5139 GB, free: 3.293 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1638, allocations: 0 / 0.5139 GB, free: 3.293 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008881/0.1646, allocations: 307.1 kB / 0.5142 GB, free: 2.992 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (inertia.w,loadTorque.phi,twoFlanges.constPDC.integrator1.y) * Number of discrete variables: 4 ($whenCondition1,twoFlanges.limTau.state,tauRef.T_start,tauRef.count) * Number of discrete states: 2 (tauRef.count,twoFlanges.limTau.state) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001298/0.1659, allocations: 372.1 kB / 0.5146 GB, free: 2.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002332/0.1683, allocations: 1.204 MB / 0.5158 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1683, allocations: 0 / 0.5158 GB, free: 1.465 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.169, allocations: 429.1 kB / 0.5162 GB, free: 1.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005866/0.1696, allocations: 101.3 kB / 0.5163 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.19/0.3595, allocations: 1.371 MB / 0.5176 GB, free: 36.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004763/0.36, allocations: 0.9337 MB / 0.5185 GB, free: 35.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003307/0.3604, allocations: 70.98 kB / 0.5186 GB, free: 35.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.3605, allocations: 41.75 kB / 0.5186 GB, free: 35.59 MB / 382.1 MB Notification: Performance of SimCode: time 1.122e-06/0.3605, allocations: 0 / 0.5186 GB, free: 35.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01666/0.3771, allocations: 7.969 MB / 0.5264 GB, free: 34.83 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.966683997306973] Failed to read output from testmodel.py, exit status != 0: 0.38464660197496414 0.39666240700000005 0.267758467 Calling exit ...