Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.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.0009166/0.0009166, allocations: 80.53 kB / 19.93 MB, free: 4.605 MB / 18.57 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.0008344/0.0008344, allocations: 177.9 kB / 23.21 MB, free: 1.324 MB / 18.57 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 0.8586/0.8586, allocations: 177.2 MB / 203.6 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.02557/0.02557, allocations: 6.473 MB / 266.5 MB, free: 6.84 MB / 250.7 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.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.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") translateModel(EHPTlib.MapBased.TestingModels.TestTwoFlange2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 393 MB, free: 5.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.539e-05, allocations: 2.281 kB / 393 MB, free: 5.227 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange2): time 0.00529/0.005315, allocations: 4.096 MB / 397.1 MB, free: 1.105 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002694/0.008009, allocations: 2.314 MB / 399.4 MB, free: 14.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003323/0.008342, allocations: 15.94 kB / 399.4 MB, free: 14.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003682/0.00871, allocations: 174.6 kB / 399.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005887/0.009298, allocations: 285.9 kB / 399.8 MB, free: 14.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.009836, allocations: 422.8 kB / 400.3 MB, free: 13.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007915/0.01063, allocations: 0.9894 MB / 401.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004403/0.01107, allocations: 345 kB / 401.6 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005976/0.01167, allocations: 0.5769 MB / 402.2 MB, free: 11.97 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003126/0.01198, allocations: 311 kB / 402.5 MB, free: 11.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 8.47e-05/0.01206, allocations: 116 kB / 402.6 MB, free: 11.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002195/0.01228, allocations: 195.9 kB / 402.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004292/0.01271, allocations: 259.1 kB / 403 MB, free: 11.11 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.01293, allocations: 315.2 kB / 403.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008866/0.01382, allocations: 1.313 MB / 404.6 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.217e-06/0.01382, allocations: 0 / 404.6 MB, free: 9.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.01382, allocations: 4 kB / 404.6 MB, free: 9.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.01383, allocations: 0 / 404.6 MB, free: 9.477 MB / 378.7 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.001281/0.01511, allocations: 1.203 MB / 405.9 MB, free: 8.223 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.01515, allocations: 12.03 kB / 405.9 MB, free: 8.211 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.01526, allocations: 100.3 kB / 406 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.01583, allocations: 0.5148 MB / 406.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.01587, allocations: 54.38 kB / 406.5 MB, free: 7.516 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.032e-05/0.01595, allocations: 80.33 kB / 406.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009022/0.01685, allocations: 0.8863 MB / 407.5 MB, free: 6.504 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.01687, allocations: 7.938 kB / 407.5 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01691, allocations: 28 kB / 407.5 MB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.01693, allocations: 16 kB / 407.5 MB, free: 6.453 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007465/0.01767, allocations: 0.5889 MB / 408.1 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00249/0.02016, allocations: 2.279 MB / 410.4 MB, free: 3.469 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006237/0.02079, allocations: 429.1 kB / 410.8 MB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.02104, allocations: 228.4 kB / 411.1 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.02107, allocations: 8 kB / 411.1 MB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.02145, allocations: 386.8 kB / 411.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.293e-06/0.02145, allocations: 0 / 411.4 MB, free: 2.367 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.001013/0.02246, allocations: 0.7829 MB / 412.2 MB, free: 1.539 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.505e-05/0.02252, allocations: 162.2 kB / 412.4 MB, free: 1.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/0.023, allocations: 0.6074 MB / 413 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.02303, allocations: 37.7 kB / 413 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.02322, allocations: 400.2 kB / 413.4 MB, free: 296 kB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.143e-05/0.02329, allocations: 127 kB / 413.5 MB, free: 168 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/0.02339, allocations: 102.1 kB / 413.6 MB, free: 60 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.0235, allocations: 366.8 kB / 414 MB, free: 15.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.0238, allocations: 267.9 kB / 414.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/0.02431, allocations: 455.7 kB / 414.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007323/0.02504, allocations: 0.5998 MB / 415.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.02505, allocations: 3.938 kB / 415.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0009628/0.02601, allocations: 0.7555 MB / 416.1 MB, free: 13.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.02607, allocations: 100.4 kB / 416.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.02608, allocations: 4.438 kB / 416.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.02624, allocations: 32.78 kB / 416.2 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.02648, allocations: 95.88 kB / 416.3 MB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008798/0.02736, allocations: 1.264 MB / 417.6 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.02766, allocations: 79.8 kB / 417.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.116e-05/0.02769, allocations: 16 kB / 417.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005249/0.02822, allocations: 454.1 kB / 418.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000344/0.02856, allocations: 439.9 kB / 418.5 MB, free: 10.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005551/0.02912, allocations: 0.5709 MB / 419.1 MB, free: 10.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.014e-06/0.02912, allocations: 0 / 419.1 MB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0008112/0.02993, allocations: 0.73 MB / 419.8 MB, free: 9.285 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.02998, allocations: 93.03 kB / 419.9 MB, free: 9.176 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.02999, allocations: 4 kB / 419.9 MB, free: 9.172 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.163e-05/0.03006, allocations: 36.72 kB / 420 MB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.03025, allocations: 88.23 kB / 420 MB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006316/0.03088, allocations: 1.272 MB / 421.3 MB, free: 7.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.03111, allocations: 67.73 kB / 421.4 MB, free: 7.602 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.411e-05/0.03113, allocations: 20.16 kB / 421.4 MB, free: 7.582 MB / 394.7 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.0001821/0.03131, allocations: 283.4 kB / 421.7 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.742e-05/0.03138, allocations: 59.62 kB / 421.7 MB, free: 7.227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000791/0.03217, allocations: 0.5803 MB / 422.3 MB, free: 6.609 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.03218, allocations: 11.98 kB / 422.3 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.03218, allocations: 0 / 422.3 MB, free: 6.598 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.03219, allocations: 7.938 kB / 422.3 MB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.03358, allocations: 1.143 MB / 423.5 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.03358, allocations: 0 / 423.5 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.03376, allocations: 63.95 kB / 423.5 MB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.917e-05/0.03384, allocations: 28.78 kB / 423.6 MB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.03387, allocations: 11.94 kB / 423.6 MB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006238/0.03449, allocations: 1.249 MB / 424.8 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.03449, allocations: 4.156 kB / 424.8 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.03549, allocations: 0.9405 MB / 425.8 MB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.03556, allocations: 75.58 kB / 425.8 MB, free: 2.852 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.0356, allocations: 16 kB / 425.9 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001832/0.03579, allocations: 39.95 kB / 425.9 MB, free: 2.797 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.259e-05/0.03588, allocations: 39.97 kB / 425.9 MB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.0359, allocations: 15.98 kB / 426 MB, free: 2.742 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003662/0.03627, allocations: 438.8 kB / 426.4 MB, free: 2.316 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03627, allocations: 3.938 kB / 426.4 MB, free: 2.312 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006709/0.03694, allocations: 358.7 kB / 426.7 MB, free: 1.961 MB / 394.7 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.0008093/0.03775, allocations: 484.3 kB / 427.2 MB, free: 1.668 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.03915, allocations: 1.443 MB / 428.7 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03915, allocations: 0 / 428.7 MB, free: 80 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.03955, allocations: 480.7 kB / 429.1 MB, free: 15.56 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003601/0.03991, allocations: 88.89 kB / 429.2 MB, free: 15.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.04154, allocations: 1.355 MB / 430.6 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.04178, allocations: 342 kB / 430.9 MB, free: 13.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.04195, allocations: 67.34 kB / 431 MB, free: 13.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.04202, allocations: 36.48 kB / 431 MB, free: 13.61 MB / 410.7 MB Notification: Performance of SimCode: time 5.51e-07/0.04202, allocations: 4 kB / 431 MB, free: 13.61 MB / 410.7 MB Notification: Performance of Templates: time 0.01038/0.05241, allocations: 8.307 MB / 439.3 MB, free: 5.371 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.makefile [Timeout 660] (rm -f EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; mkfifo EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe ; head -c 1048576 < EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe >> ../files/EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.sim & ./EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2 -abortSlowSimulation -alarm=480 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > EHPTlib_EHPTlib.MapBased.TestingModels.TestTwoFlange2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 2.965967978350818] Failed to read output from testmodel.py, exit status != 0: 0.05850321985781193 0.215252789 0.199128726 Calling exit ...