Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001322/0.001322, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.00139/0.00139, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.478/1.478, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.1 MB " [Timeout remaining time 178] 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.0454/0.0454, allocations: 8.54 MB / 314.7 MB, free: 292 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.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002188/0.002188, allocations: 63.91 kB / 438.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.104, allocations: 54.2 MB / 492.8 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.007283/0.1113, allocations: 4.495 MB / 497.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003923/0.1152, allocations: 2.205 MB / 499.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006134/0.1159, allocations: 12 kB / 499.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006315/0.1165, allocations: 166.6 kB / 499.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1175, allocations: 234.3 kB / 500 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001062/0.1186, allocations: 437.5 kB / 0.4887 GB, free: 14.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001319/0.1199, allocations: 0.9313 MB / 0.4896 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.1205, allocations: 364.6 kB / 0.4899 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.121, allocations: 374.7 kB / 0.4903 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005955/0.1216, allocations: 411.6 kB / 0.4907 GB, free: 12.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.1218, allocations: 108 kB / 0.4908 GB, free: 12.42 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002187/0.122, allocations: 140 kB / 0.4909 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002621/0.1222, allocations: 243.3 kB / 0.4911 GB, free: 12.04 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004838/0.1227, allocations: 469.7 kB / 0.4916 GB, free: 11.58 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001776/0.1245, allocations: 1.203 MB / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.1245, allocations: 0 / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1245, allocations: 0 / 0.4927 GB, free: 10.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.1245, allocations: 0 / 0.4927 GB, free: 10.38 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.002618/0.1271, allocations: 1.255 MB / 0.494 GB, free: 9.051 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.507e-05/0.1272, allocations: 15.89 kB / 0.494 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002306/0.1274, allocations: 104.3 kB / 0.4941 GB, free: 8.934 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.1284, allocations: 0.5642 MB / 0.4946 GB, free: 8.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.1285, allocations: 58.38 kB / 0.4947 GB, free: 8.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.1286, allocations: 80.12 kB / 0.4948 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.1301, allocations: 0.7322 MB / 0.4955 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.1301, allocations: 7.953 kB / 0.4955 GB, free: 7.438 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.158e-05/0.1302, allocations: 35.97 kB / 0.4955 GB, free: 7.402 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.1302, allocations: 16 kB / 0.4955 GB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1315, allocations: 0.5309 MB / 0.4961 GB, free: 6.855 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004271/0.1358, allocations: 2.699 MB / 0.4987 GB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1369, allocations: 444.3 kB / 0.4991 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.1374, allocations: 169 kB / 0.4993 GB, free: 3.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.1374, allocations: 4 kB / 0.4993 GB, free: 3.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006486/0.1381, allocations: 279.4 kB / 0.4996 GB, free: 3.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 2.305e-06/0.1381, allocations: 3.938 kB / 0.4996 GB, free: 3.105 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001908/0.14, allocations: 0.7341 MB / 0.5003 GB, free: 2.332 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001116/0.1401, allocations: 140.8 kB / 0.5004 GB, free: 2.164 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009334/0.1411, allocations: 0.6748 MB / 0.5011 GB, free: 1.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.1411, allocations: 33.7 kB / 0.5011 GB, free: 1.441 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/0.1414, allocations: 388.5 kB / 0.5015 GB, free: 1.055 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.1416, allocations: 131 kB / 0.5016 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/0.1417, allocations: 90.25 kB / 0.5017 GB, free: 0.832 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002165/0.142, allocations: 378.7 kB / 0.502 GB, free: 464 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.1424, allocations: 183 kB / 0.5022 GB, free: 280 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006245/0.1431, allocations: 291.2 kB / 0.5025 GB, free: 15.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.1442, allocations: 0.6076 MB / 0.5031 GB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.1442, allocations: 0 / 0.5031 GB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001524/0.1457, allocations: 0.6726 MB / 0.5037 GB, free: 14.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.134e-05/0.1458, allocations: 89.09 kB / 0.5038 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1459, allocations: 4 kB / 0.5038 GB, free: 14.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001813/0.146, allocations: 29.19 kB / 0.5039 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.1465, allocations: 103.8 kB / 0.504 GB, free: 14.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.148, allocations: 1.388 MB / 0.5053 GB, free: 12.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005056/0.1485, allocations: 83.58 kB / 0.5054 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.565e-05/0.1485, allocations: 24 kB / 0.5054 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000761/0.1493, allocations: 361.2 kB / 0.5058 GB, free: 12.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005433/0.1498, allocations: 283.2 kB / 0.506 GB, free: 11.99 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001069/0.1509, allocations: 0.5706 MB / 0.5066 GB, free: 11.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.244e-06/0.1509, allocations: 0 / 0.5066 GB, free: 11.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001374/0.1523, allocations: 0.6545 MB / 0.5072 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.1524, allocations: 97.09 kB / 0.5073 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.1524, allocations: 4 kB / 0.5073 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.149e-05/0.1525, allocations: 24.8 kB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.1528, allocations: 104.2 kB / 0.5074 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.1542, allocations: 1.395 MB / 0.5088 GB, free: 8.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.1546, allocations: 63.8 kB / 0.5089 GB, free: 8.816 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.1547, allocations: 20 kB / 0.5089 GB, free: 8.797 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.0003002/0.155, allocations: 278.9 kB / 0.5092 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1551, allocations: 75.55 kB / 0.5092 GB, free: 8.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.1564, allocations: 0.5307 MB / 0.5097 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.1564, allocations: 4 kB / 0.5098 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.1564, allocations: 0 / 0.5098 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1564, allocations: 8 kB / 0.5098 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002297/0.1587, allocations: 1.256 MB / 0.511 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.1587, allocations: 0 / 0.511 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003866/0.1591, allocations: 75.88 kB / 0.5111 GB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.1592, allocations: 20.8 kB / 0.5111 GB, free: 6.445 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/0.1592, allocations: 11.98 kB / 0.5111 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.1606, allocations: 1.375 MB / 0.5124 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1606, allocations: 4.031 kB / 0.5124 GB, free: 4.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.1623, allocations: 0.8361 MB / 0.5133 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.1625, allocations: 148.6 kB / 0.5134 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.825e-05/0.1626, allocations: 11.98 kB / 0.5134 GB, free: 3.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004058/0.163, allocations: 47.95 kB / 0.5135 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.1631, allocations: 27.97 kB / 0.5135 GB, free: 3.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.1632, allocations: 19.98 kB / 0.5135 GB, free: 3.773 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009893/0.1642, allocations: 482.8 kB / 0.514 GB, free: 3.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1642, allocations: 0 / 0.514 GB, free: 3.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00124/0.1654, allocations: 311.1 kB / 0.5143 GB, free: 3 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.001544/0.167, allocations: 363.8 kB / 0.5146 GB, free: 2.777 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002943/0.1699, allocations: 1.207 MB / 0.5158 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.1699, allocations: 0 / 0.5158 GB, free: 1.473 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007644/0.1707, allocations: 417.1 kB / 0.5162 GB, free: 1.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000669/0.1713, allocations: 103.1 kB / 0.5163 GB, free: 0.9336 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.268/0.4393, allocations: 1.379 MB / 0.5176 GB, free: 36.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000561/0.4399, allocations: 0.9374 MB / 0.5185 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003793/0.4403, allocations: 69.78 kB / 0.5186 GB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.4404, allocations: 40.06 kB / 0.5186 GB, free: 35.54 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4404, allocations: 0.7188 kB / 0.5186 GB, free: 35.54 MB / 382.1 MB Notification: Performance of Templates: time 0.02145/0.4619, allocations: 7.965 MB / 0.5264 GB, free: 34.8 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.makefile [Timeout 660] (rm -f EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; mkfifo EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe >> ../files/EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.sim & ./EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.164320658892393] Failed to read output from testmodel.py, exit status != 0: 0.46991833578795195 0.48176844399999996 0.35465495099999994 Calling exit ...