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.001267/0.001267, allocations: 109.8 kB / 18.89 MB, free: 2.875 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.001359/0.001359, allocations: 199.6 kB / 22.17 MB, free: 5.188 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.362/1.362, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.04056/0.04056, allocations: 8.538 MB / 314.7 MB, free: 276 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.001816/0.001816, allocations: 63.88 kB / 438.6 MB, free: 12.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08681/0.08863, allocations: 54.21 MB / 492.9 MB, free: 6.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.006092/0.09472, allocations: 4.479 MB / 497.3 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003538/0.09826, allocations: 2.217 MB / 499.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003719/0.09863, allocations: 12 kB / 499.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004543/0.09908, allocations: 162.7 kB / 499.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006049/0.09969, allocations: 234.2 kB / 500 MB, free: 15 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007787/0.1005, allocations: 434.5 kB / 0.4886 GB, free: 14.58 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.1014, allocations: 0.943 MB / 0.4896 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005308/0.102, allocations: 360.6 kB / 0.4899 GB, free: 13.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1024, allocations: 370.7 kB / 0.4903 GB, free: 12.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005613/0.103, allocations: 410.2 kB / 0.4907 GB, free: 12.49 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001388/0.1031, allocations: 108 kB / 0.4908 GB, free: 12.38 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002084/0.1033, allocations: 144 kB / 0.4909 GB, free: 12.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002396/0.1036, allocations: 243.2 kB / 0.4911 GB, free: 12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000401/0.104, allocations: 465.8 kB / 0.4916 GB, free: 11.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.1053, allocations: 1.203 MB / 0.4927 GB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1053, allocations: 0 / 0.4927 GB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1053, allocations: 0 / 0.4927 GB, free: 10.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.1053, allocations: 0 / 0.4927 GB, free: 10.34 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.002081/0.1074, allocations: 1.259 MB / 0.494 GB, free: 9.012 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.1074, allocations: 15.89 kB / 0.494 GB, free: 8.996 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.1076, allocations: 96.33 kB / 0.4941 GB, free: 8.902 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008262/0.1084, allocations: 0.5642 MB / 0.4946 GB, free: 8.297 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.861e-05/0.1085, allocations: 58.38 kB / 0.4947 GB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.1086, allocations: 84.11 kB / 0.4948 GB, free: 8.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001337/0.1099, allocations: 0.7438 MB / 0.4955 GB, free: 7.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.1099, allocations: 3.953 kB / 0.4955 GB, free: 7.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.728e-05/0.11, allocations: 28 kB / 0.4955 GB, free: 7.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.11, allocations: 19.94 kB / 0.4955 GB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001221/0.1112, allocations: 0.5309 MB / 0.4961 GB, free: 6.816 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.1153, allocations: 2.696 MB / 0.4987 GB, free: 4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.1164, allocations: 440.3 kB / 0.4991 GB, free: 3.539 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004389/0.1168, allocations: 173 kB / 0.4993 GB, free: 3.367 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.1168, allocations: 4 kB / 0.4993 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005952/0.1174, allocations: 275.3 kB / 0.4996 GB, free: 3.078 MB / 366.1 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.1174, allocations: 4 kB / 0.4996 GB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=35): time 0.001801/0.1192, allocations: 0.7381 MB / 0.5003 GB, free: 2.297 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.253e-05/0.1193, allocations: 132.8 kB / 0.5004 GB, free: 2.137 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.1202, allocations: 0.6748 MB / 0.5011 GB, free: 1.453 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1202, allocations: 33.7 kB / 0.5011 GB, free: 1.414 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003099/0.1205, allocations: 396.5 kB / 0.5015 GB, free: 1.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.1206, allocations: 123 kB / 0.5016 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.1208, allocations: 90.25 kB / 0.5017 GB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.121, allocations: 378.7 kB / 0.502 GB, free: 436 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004559/0.1214, allocations: 186.9 kB / 0.5022 GB, free: 248 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000548/0.122, allocations: 299.2 kB / 0.5025 GB, free: 15.9 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001047/0.123, allocations: 0.5999 MB / 0.5031 GB, free: 15.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.123, allocations: 4 kB / 0.5031 GB, free: 15.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001336/0.1243, allocations: 0.6765 MB / 0.5038 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.557e-05/0.1244, allocations: 89.09 kB / 0.5038 GB, free: 14.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1244, allocations: 4 kB / 0.5038 GB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001546/0.1246, allocations: 24.86 kB / 0.5039 GB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003893/0.125, allocations: 99.81 kB / 0.504 GB, free: 14.28 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.1261, allocations: 1.396 MB / 0.5053 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004949/0.1266, allocations: 87.52 kB / 0.5054 GB, free: 12.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.1267, allocations: 20 kB / 0.5054 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006766/0.1274, allocations: 361.1 kB / 0.5058 GB, free: 12.28 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005025/0.1279, allocations: 286.4 kB / 0.506 GB, free: 11.95 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000951/0.1288, allocations: 0.5707 MB / 0.5066 GB, free: 11.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.284e-06/0.1288, allocations: 0 / 0.5066 GB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001257/0.1301, allocations: 0.6546 MB / 0.5072 GB, free: 10.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.386e-05/0.1301, allocations: 93.09 kB / 0.5073 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.1301, allocations: 4 kB / 0.5073 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-05/0.1302, allocations: 24.84 kB / 0.5074 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003767/0.1306, allocations: 95.88 kB / 0.5074 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001066/0.1317, allocations: 1.391 MB / 0.5088 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/0.1321, allocations: 63.95 kB / 0.5089 GB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.1322, allocations: 24 kB / 0.5089 GB, free: 8.77 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.0002439/0.1324, allocations: 278.9 kB / 0.5092 GB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.391e-05/0.1325, allocations: 75.48 kB / 0.5092 GB, free: 8.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/0.1337, allocations: 0.5423 MB / 0.5098 GB, free: 7.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.1337, allocations: 4 kB / 0.5098 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1337, allocations: 0 / 0.5098 GB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1337, allocations: 3.984 kB / 0.5098 GB, free: 7.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002085/0.1358, allocations: 1.26 MB / 0.511 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1358, allocations: 0 / 0.511 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003335/0.1362, allocations: 67.89 kB / 0.5111 GB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-05/0.1362, allocations: 24.84 kB / 0.5111 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.1363, allocations: 8 kB / 0.5111 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.1373, allocations: 1.383 MB / 0.5124 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1373, allocations: 0 / 0.5124 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.139, allocations: 0.8284 MB / 0.5132 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000168/0.1392, allocations: 148.6 kB / 0.5134 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.328e-05/0.1392, allocations: 12 kB / 0.5134 GB, free: 3.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003875/0.1396, allocations: 43.95 kB / 0.5134 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1397, allocations: 35.89 kB / 0.5135 GB, free: 3.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.821e-05/0.1398, allocations: 15.94 kB / 0.5135 GB, free: 3.746 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005794/0.1403, allocations: 486.8 kB / 0.514 GB, free: 3.273 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1403, allocations: 0 / 0.514 GB, free: 3.273 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008161/0.1412, allocations: 307.1 kB / 0.5143 GB, free: 2.973 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.001232/0.1424, allocations: 364.4 kB / 0.5146 GB, free: 2.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.1445, allocations: 1.207 MB / 0.5158 GB, free: 1.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1445, allocations: 4.062 kB / 0.5158 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006702/0.1451, allocations: 421.2 kB / 0.5162 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.1457, allocations: 97.5 kB / 0.5163 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1819/0.3276, allocations: 1.407 MB / 0.5176 GB, free: 36.12 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004731/0.3281, allocations: 0.9301 MB / 0.5186 GB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.3283, allocations: 44.06 kB / 0.5186 GB, free: 35.42 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3283, allocations: 0 / 0.5186 GB, free: 35.42 MB / 382.1 MB Notification: Performance of Templates: time 0.01836/0.3466, allocations: 11.89 MB / 0.5302 GB, free: 32.36 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 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.772952263709158] Failed to read output from testmodel.py, exit status != 0: 0.35372974118217826 0.365122699 0.257677404 Calling exit ...