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.001507/0.001507, allocations: 113.5 kB / 17.08 MB, free: 5.832 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.001498/0.001498, allocations: 186.2 kB / 20.02 MB, free: 2.93 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.32/1.32, allocations: 222.9 MB / 245.7 MB, free: 4.316 MB / 190.1 MB " [Timeout remaining time 179] 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.14/0.14, allocations: 8.403 MB / 306.3 MB, free: 2.766 MB / 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.001929/0.001929, allocations: 67.89 kB / 423.2 MB, free: 6.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.209, allocations: 51.37 MB / 474.6 MB, free: 20.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.004839/0.2139, allocations: 4.434 MB / 479 MB, free: 17.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.2167, allocations: 2.112 MB / 481.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003309/0.217, allocations: 12.38 kB / 481.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003602/0.2174, allocations: 163.7 kB / 481.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004653/0.2179, allocations: 227.4 kB / 481.5 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005496/0.2184, allocations: 428.6 kB / 481.9 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006314/0.2191, allocations: 0.9559 MB / 482.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004953/0.2196, allocations: 0.5023 MB / 483.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.2199, allocations: 372.6 kB / 483.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003691/0.2203, allocations: 407.6 kB / 484.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.2204, allocations: 107.7 kB / 484.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001899/0.2206, allocations: 138 kB / 484.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.2208, allocations: 240.8 kB / 484.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00027/0.221, allocations: 471.6 kB / 485.1 MB, free: 12.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.2219, allocations: 1.199 MB / 486.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2219, allocations: 1.25 kB / 486.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2219, allocations: 0 / 486.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.511e-05/0.2219, allocations: 0 / 486.3 MB, free: 11.88 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001542/0.2235, allocations: 1.265 MB / 487.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.834e-05/0.2235, allocations: 13.17 kB / 487.5 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001315/0.2236, allocations: 99.64 kB / 487.6 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005886/0.2242, allocations: 0.5647 MB / 488.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.2243, allocations: 57.69 kB / 488.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.335e-05/0.2244, allocations: 78.41 kB / 488.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2255, allocations: 0.7344 MB / 489.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/0.2255, allocations: 6.078 kB / 489.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.2256, allocations: 35.44 kB / 489.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.851e-05/0.2256, allocations: 21.45 kB / 489.1 MB, free: 9.762 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.2267, allocations: 0.5275 MB / 489.7 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/0.2296, allocations: 2.691 MB / 492.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000882/0.2305, allocations: 476.3 kB / 492.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.2309, allocations: 188.3 kB / 493 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.2309, allocations: 4.562 kB / 493 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.2314, allocations: 263.1 kB / 493.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.603e-06/0.2314, allocations: 7.875 kB / 493.3 MB, free: 6.742 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001445/0.2329, allocations: 0.7434 MB / 494 MB, free: 6.266 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.2329, allocations: 135.7 kB / 494.2 MB, free: 6.109 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.2335, allocations: 0.6698 MB / 494.8 MB, free: 5.738 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.834e-05/0.2336, allocations: 33.61 kB / 494.9 MB, free: 5.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001804/0.2338, allocations: 391.4 kB / 495.2 MB, free: 5.359 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.378e-05/0.2338, allocations: 126.5 kB / 495.4 MB, free: 5.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.234, allocations: 94.2 kB / 495.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.234, allocations: 378 kB / 495.8 MB, free: 4.828 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.2345, allocations: 188.7 kB / 496 MB, free: 4.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004393/0.2349, allocations: 294.6 kB / 496.3 MB, free: 4.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008148/0.2357, allocations: 0.5977 MB / 496.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.2357, allocations: 1.094 kB / 496.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001104/0.2368, allocations: 0.6783 MB / 497.6 MB, free: 3.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.2369, allocations: 86.86 kB / 497.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.2369, allocations: 2.75 kB / 497.7 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/0.237, allocations: 27.59 kB / 497.7 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/0.2374, allocations: 95.75 kB / 497.8 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000647/0.2381, allocations: 1.395 MB / 499.2 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/0.2385, allocations: 87.55 kB / 499.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.2385, allocations: 24.22 kB / 499.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000516/0.239, allocations: 362.1 kB / 499.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003919/0.2394, allocations: 291 kB / 499.9 MB, free: 1.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007375/0.2402, allocations: 0.5674 MB / 0.4888 GB, free: 1.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.2402, allocations: 1.062 kB / 0.4888 GB, free: 1.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0009839/0.2412, allocations: 0.6505 MB / 0.4894 GB, free: 0.6328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.111e-05/0.2412, allocations: 98.03 kB / 0.4895 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.2412, allocations: 3.312 kB / 0.4895 GB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-05/0.2413, allocations: 27.72 kB / 0.4895 GB, free: 0.5117 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.2416, allocations: 85.98 kB / 0.4896 GB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000935/0.2426, allocations: 1.393 MB / 0.491 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000389/0.243, allocations: 75.64 kB / 0.491 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.243, allocations: 19.81 kB / 0.491 GB, free: 15 MB / 366.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.0002148/0.2432, allocations: 268.6 kB / 0.4913 GB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.2433, allocations: 69.06 kB / 0.4914 GB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001154/0.2445, allocations: 0.5387 MB / 0.4919 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2445, allocations: 4 kB / 0.4919 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.2445, allocations: 0 / 0.4919 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2445, allocations: 0 / 0.4919 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001927/0.2465, allocations: 1.268 MB / 0.4931 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2465, allocations: 0 / 0.4931 GB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2468, allocations: 63.89 kB / 0.4932 GB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7e-05/0.2469, allocations: 24.84 kB / 0.4932 GB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.2469, allocations: 12 kB / 0.4932 GB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001085/0.248, allocations: 1.394 MB / 0.4946 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.248, allocations: 0 / 0.4946 GB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/0.2496, allocations: 0.8281 MB / 0.4954 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.2498, allocations: 148.7 kB / 0.4955 GB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.684e-05/0.2498, allocations: 8 kB / 0.4956 GB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003586/0.2502, allocations: 39.95 kB / 0.4956 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.2503, allocations: 39.95 kB / 0.4956 GB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.2504, allocations: 15.94 kB / 0.4956 GB, free: 10.12 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005774/0.2509, allocations: 482.8 kB / 0.4961 GB, free: 9.648 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2509, allocations: 0 / 0.4961 GB, free: 9.648 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007874/0.2517, allocations: 311.1 kB / 0.4964 GB, free: 9.344 MB / 366.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.001214/0.253, allocations: 375.3 kB / 0.4968 GB, free: 9.117 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.255, allocations: 1.262 MB / 0.498 GB, free: 7.758 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.255, allocations: 4 kB / 0.498 GB, free: 7.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006687/0.2557, allocations: 453.2 kB / 0.4984 GB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.2563, allocations: 94.14 kB / 0.4985 GB, free: 7.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.2584, allocations: 1.406 MB / 0.4999 GB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.259, allocations: 0.929 MB / 0.5008 GB, free: 4.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.2592, allocations: 43.44 kB / 0.5008 GB, free: 4.738 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.2592, allocations: 0 / 0.5008 GB, free: 4.738 MB / 366.1 MB Notification: Performance of Templates: time 0.01459/0.2738, allocations: 11.87 MB / 0.5124 GB, free: 8.871 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 -lv LOG_STATS > EHPTlib_latest_EHPTlib.MapBased.TestingModels.TestTwoFlange1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.17564187082462] Failed to read output from testmodel.py, exit status != 0: 0.2804401738103479 0.29241199300000004 0.06814437400000001 Calling exit ...