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.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.0008811/0.0008811, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.000829/0.000829, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8915/0.8915, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02422/0.02422, allocations: 6.482 MB / 266.4 MB, free: 6.832 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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.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 1.603e-06/1.603e-06, allocations: 0 / 392.9 MB, free: 5.227 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.802e-05, allocations: 2.281 kB / 392.9 MB, free: 5.223 MB / 362.7 MB Notification: Performance of NFInst.instantiate(EHPTlib.MapBased.TestingModels.TestTwoFlange1): time 0.003774/0.003792, allocations: 4.114 MB / 397 MB, free: 1.082 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002133/0.005925, allocations: 2.33 MB / 399.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.00616, allocations: 15.94 kB / 399.4 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002758/0.006436, allocations: 162.6 kB / 399.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006984/0.007134, allocations: 289.8 kB / 399.8 MB, free: 14.28 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000424/0.007558, allocations: 434.2 kB / 400.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005594/0.008118, allocations: 0.9816 MB / 401.2 MB, free: 12.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003252/0.008443, allocations: 341.1 kB / 401.5 MB, free: 12.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.008863, allocations: 0.573 MB / 402.1 MB, free: 11.94 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.009123, allocations: 299 kB / 402.4 MB, free: 11.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.45e-05/0.009197, allocations: 112 kB / 402.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.009317, allocations: 140 kB / 402.7 MB, free: 11.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.009463, allocations: 243.2 kB / 402.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.009648, allocations: 311.2 kB / 403.2 MB, free: 10.86 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008467/0.01049, allocations: 1.246 MB / 404.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.0105, allocations: 0 / 404.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.0105, allocations: 0 / 404.4 MB, free: 9.609 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.0105, allocations: 0 / 404.4 MB, free: 9.609 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: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.001132/0.01164, allocations: 1.184 MB / 405.6 MB, free: 8.375 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.01167, allocations: 11.97 kB / 405.6 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.894e-05/0.01176, allocations: 100.3 kB / 405.7 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005282/0.01229, allocations: 0.5148 MB / 406.3 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.608e-05/0.01233, allocations: 58.38 kB / 406.3 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.219e-05/0.0124, allocations: 80.33 kB / 406.4 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.0135, allocations: 0.8487 MB / 407.2 MB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.01352, allocations: 7.938 kB / 407.2 MB, free: 6.691 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.01356, allocations: 28 kB / 407.3 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.01357, allocations: 20 kB / 407.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007146/0.01428, allocations: 0.5851 MB / 407.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/0.01644, allocations: 2.299 MB / 410.2 MB, free: 3.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005736/0.01701, allocations: 433.2 kB / 410.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000246/0.01726, allocations: 224.5 kB / 410.8 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.883e-05/0.01729, allocations: 11.92 kB / 410.8 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003658/0.01765, allocations: 378.9 kB / 411.2 MB, free: 2.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 1.092e-06/0.01766, allocations: 4 kB / 411.2 MB, free: 2.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=35): time 0.0009446/0.0186, allocations: 0.7712 MB / 412 MB, free: 1.727 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.405e-05/0.01865, allocations: 144.5 kB / 412.1 MB, free: 1.555 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004381/0.01909, allocations: 0.5995 MB / 412.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.01912, allocations: 33.7 kB / 412.7 MB, free: 0.9062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.0193, allocations: 404.3 kB / 413.1 MB, free: 0.5078 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.01936, allocations: 123 kB / 413.3 MB, free: 396 kB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.28e-05/0.01945, allocations: 94.14 kB / 413.4 MB, free: 296 kB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.01957, allocations: 374.7 kB / 413.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000549/0.02011, allocations: 267.9 kB / 414 MB, free: 15.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003262/0.02044, allocations: 417.1 kB / 414.4 MB, free: 15.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005632/0.021, allocations: 0.5959 MB / 415 MB, free: 14.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.02101, allocations: 4 kB / 415 MB, free: 14.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007242/0.02173, allocations: 0.7478 MB / 415.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.02177, allocations: 93.09 kB / 415.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.02178, allocations: 0 / 415.8 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.671e-05/0.02187, allocations: 24.86 kB / 415.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.02207, allocations: 100.2 kB / 415.9 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006099/0.02268, allocations: 1.264 MB / 417.2 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002/0.02288, allocations: 79.62 kB / 417.3 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.635e-05/0.02291, allocations: 20 kB / 417.3 MB, free: 11.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003966/0.0233, allocations: 450.3 kB / 417.7 MB, free: 11.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003005/0.0236, allocations: 397.4 kB / 418.1 MB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005101/0.02411, allocations: 0.5748 MB / 418.7 MB, free: 10.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.02411, allocations: 4 kB / 418.7 MB, free: 10.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0006751/0.02479, allocations: 0.7302 MB / 419.4 MB, free: 9.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.02482, allocations: 93.05 kB / 419.5 MB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.02483, allocations: 11.98 kB / 419.5 MB, free: 9.496 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.455e-05/0.02488, allocations: 24.8 kB / 419.6 MB, free: 9.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.02506, allocations: 95.88 kB / 419.7 MB, free: 9.375 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007941/0.02585, allocations: 1.26 MB / 420.9 MB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.02604, allocations: 67.73 kB / 421 MB, free: 7.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.098e-05/0.02606, allocations: 20 kB / 421 MB, free: 7.93 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.0001252/0.02619, allocations: 279.4 kB / 421.3 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.608e-05/0.02623, allocations: 59.62 kB / 421.3 MB, free: 7.578 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006468/0.02688, allocations: 0.5843 MB / 421.9 MB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.02688, allocations: 4 kB / 421.9 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.02689, allocations: 3.938 kB / 421.9 MB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.02689, allocations: 7.984 kB / 421.9 MB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.02796, allocations: 1.124 MB / 423.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.257e-06/0.02796, allocations: 7.938 kB / 423.1 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001588/0.02812, allocations: 63.94 kB / 423.1 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.637e-05/0.02816, allocations: 16.86 kB / 423.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.185e-05/0.02819, allocations: 19.98 kB / 423.2 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005226/0.02871, allocations: 1.256 MB / 424.4 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.02871, allocations: 0 / 424.4 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009139/0.02962, allocations: 0.9445 MB / 425.4 MB, free: 3.281 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.02968, allocations: 63.61 kB / 425.4 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.391e-05/0.02971, allocations: 12.03 kB / 425.4 MB, free: 3.207 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.02988, allocations: 43.95 kB / 425.5 MB, free: 3.164 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.804e-05/0.02995, allocations: 35.89 kB / 425.5 MB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.02997, allocations: 15.98 kB / 425.5 MB, free: 3.113 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003022/0.03027, allocations: 426.8 kB / 426 MB, free: 2.699 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03027, allocations: 4 kB / 426 MB, free: 2.695 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004821/0.03075, allocations: 330.8 kB / 426.3 MB, free: 2.371 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.0006037/0.03135, allocations: 395.4 kB / 426.7 MB, free: 2.129 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.0328, allocations: 1.432 MB / 428.1 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.0328, allocations: 0 / 428.1 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003572/0.03316, allocations: 480.9 kB / 428.6 MB, free: 32 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.03348, allocations: 92.89 kB / 428.7 MB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001366/0.03484, allocations: 1.384 MB / 430 MB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.03506, allocations: 342 kB / 430.4 MB, free: 14.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.513e-05/0.03514, allocations: 40.5 kB / 430.4 MB, free: 14.11 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.03514, allocations: 0 / 430.4 MB, free: 14.11 MB / 410.7 MB Notification: Performance of Templates: time 0.009356/0.0445, allocations: 11.99 MB / 442.4 MB, free: 2.133 MB / 410.7 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: 5.230100583285093] Failed to read output from testmodel.py, exit status != 0: 0.050269815139472485 0.22004216299999996 0.20819941899999994 Calling exit ...